@quenty/depthoffield 11.19.4-canary.559.9f38947.0 → 11.20.0-canary.559.b31717d.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# [11.20.0-canary.559.b31717d.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/depthoffield@11.19.3...@quenty/depthoffield@11.20.0-canary.559.b31717d.0) (2025-05-10)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/depthoffield",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.20.0-canary.559.b31717d.0",
|
|
4
4
|
"description": "Depth of field service to allow multiple systems to write depth of field",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -26,23 +26,23 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@quenty/acceltween": "2.5.3",
|
|
29
|
-
"@quenty/attributeutils": "14.
|
|
30
|
-
"@quenty/baseobject": "10.8.
|
|
31
|
-
"@quenty/basicpane": "13.
|
|
32
|
-
"@quenty/blend": "12.
|
|
33
|
-
"@quenty/brio": "14.
|
|
34
|
-
"@quenty/instanceutils": "13.
|
|
35
|
-
"@quenty/loader": "10.8.
|
|
36
|
-
"@quenty/maid": "3.4.
|
|
29
|
+
"@quenty/attributeutils": "14.18.0-canary.559.b31717d.0",
|
|
30
|
+
"@quenty/baseobject": "10.8.3",
|
|
31
|
+
"@quenty/basicpane": "13.18.0-canary.559.b31717d.0",
|
|
32
|
+
"@quenty/blend": "12.19.0-canary.559.b31717d.0",
|
|
33
|
+
"@quenty/brio": "14.18.0-canary.559.b31717d.0",
|
|
34
|
+
"@quenty/instanceutils": "13.18.0-canary.559.b31717d.0",
|
|
35
|
+
"@quenty/loader": "10.8.3",
|
|
36
|
+
"@quenty/maid": "3.4.3",
|
|
37
37
|
"@quenty/math": "2.7.3",
|
|
38
|
-
"@quenty/rx": "13.
|
|
39
|
-
"@quenty/signal": "7.10.
|
|
40
|
-
"@quenty/steputils": "3.5.
|
|
41
|
-
"@quenty/transitionmodel": "7.
|
|
42
|
-
"@quenty/valueobject": "13.
|
|
38
|
+
"@quenty/rx": "13.18.0-canary.559.b31717d.0",
|
|
39
|
+
"@quenty/signal": "7.10.3",
|
|
40
|
+
"@quenty/steputils": "3.5.5",
|
|
41
|
+
"@quenty/transitionmodel": "7.20.0-canary.559.b31717d.0",
|
|
42
|
+
"@quenty/valueobject": "13.18.0-canary.559.b31717d.0"
|
|
43
43
|
},
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "b31717d8c9f7620c457f5018a2affa760a65334a"
|
|
48
48
|
}
|
|
@@ -383,19 +383,17 @@ function DepthOfFieldEffect._observeRenderedDepthOfFieldState(
|
|
|
383
383
|
return self._observeOtherStates :: any
|
|
384
384
|
end
|
|
385
385
|
|
|
386
|
-
function DepthOfFieldEffect._observeAllDepthOfFieldBrio(
|
|
387
|
-
_self: DepthOfFieldEffect
|
|
388
|
-
): Observable.Observable<Brio.Brio<Instance>>
|
|
386
|
+
function DepthOfFieldEffect._observeAllDepthOfFieldBrio(_self: DepthOfFieldEffect): Observable.Observable<Brio.Brio<Instance>>
|
|
389
387
|
return Rx.merge({
|
|
390
388
|
RxInstanceUtils.observeChildrenOfClassBrio(Lighting, "DepthOfFieldEffect") :: any,
|
|
391
389
|
RxInstanceUtils.observePropertyBrio(Workspace, "CurrentCamera", function(camera)
|
|
392
|
-
|
|
390
|
+
return camera ~= nil
|
|
393
391
|
end):Pipe({
|
|
394
392
|
RxBrioUtils.flatMapBrio(function(currentCamera)
|
|
395
|
-
|
|
393
|
+
return RxInstanceUtils.observeChildrenOfClassBrio(currentCamera, "DepthOfFieldEffect")
|
|
396
394
|
end) :: any,
|
|
397
395
|
}) :: any,
|
|
398
396
|
}) :: any
|
|
399
397
|
end
|
|
400
398
|
|
|
401
|
-
return DepthOfFieldEffect
|
|
399
|
+
return DepthOfFieldEffect
|
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
@class DepthOfFieldEffect.story
|
|
3
3
|
]]
|
|
4
4
|
|
|
5
|
-
local require =
|
|
6
|
-
require(game:GetService("ServerScriptService"):FindFirstChild("LoaderUtils", true).Parent).bootstrapStory(script)
|
|
5
|
+
local require = require(game:GetService("ServerScriptService"):FindFirstChild("LoaderUtils", true).Parent).bootstrapStory(script)
|
|
7
6
|
|
|
8
7
|
local Workspace = game:GetService("Workspace")
|
|
9
8
|
|
|
10
|
-
local Blend = require("Blend")
|
|
11
|
-
local DepthOfFieldEffect = require("DepthOfFieldEffect")
|
|
12
9
|
local Maid = require("Maid")
|
|
10
|
+
local DepthOfFieldEffect = require("DepthOfFieldEffect")
|
|
11
|
+
local Blend = require("Blend")
|
|
13
12
|
|
|
14
13
|
return function(target)
|
|
15
14
|
local maid = Maid.new()
|
|
@@ -26,54 +25,55 @@ return function(target)
|
|
|
26
25
|
depthOfFieldEffect2.Gui.Parent = Workspace.CurrentCamera
|
|
27
26
|
-- depthOfFieldEffect2:Show()
|
|
28
27
|
|
|
28
|
+
|
|
29
29
|
maid:Add(Blend.mount(target, {
|
|
30
30
|
Blend.New "Frame" {
|
|
31
|
-
Size = UDim2.new(1, 0, 1, 0)
|
|
32
|
-
BackgroundTransparency = 1
|
|
31
|
+
Size = UDim2.new(1, 0, 1, 0);
|
|
32
|
+
BackgroundTransparency = 1;
|
|
33
33
|
|
|
34
34
|
Blend.New "UIListLayout" {
|
|
35
|
-
Padding = UDim.new(0, 5)
|
|
36
|
-
}
|
|
35
|
+
Padding = UDim.new(0, 5);
|
|
36
|
+
};
|
|
37
37
|
|
|
38
38
|
Blend.New "TextButton" {
|
|
39
39
|
Text = Blend.Computed(depthOfFieldEffect:ObserveVisible(), function(visible)
|
|
40
40
|
return string.format("Toggle 1 (%s)", visible and "on" or "off")
|
|
41
|
-
end)
|
|
41
|
+
end);
|
|
42
42
|
BackgroundColor3 = Blend.Computed(depthOfFieldEffect:ObserveVisible(), function(visible)
|
|
43
43
|
return visible and Color3.new(0.5, 1, 0.5) or Color3.new(1, 0.5, 0.5)
|
|
44
|
-
end)
|
|
45
|
-
AutoButtonColor = true
|
|
46
|
-
Size = UDim2.new(0, 100, 0, 30)
|
|
44
|
+
end);
|
|
45
|
+
AutoButtonColor = true;
|
|
46
|
+
Size = UDim2.new(0, 100, 0, 30);
|
|
47
47
|
[Blend.OnEvent "Activated"] = function()
|
|
48
48
|
depthOfFieldEffect:Toggle()
|
|
49
|
-
end
|
|
49
|
+
end;
|
|
50
50
|
|
|
51
51
|
Blend.New "UICorner" {
|
|
52
|
-
CornerRadius = UDim.new(0, 5)
|
|
53
|
-
}
|
|
54
|
-
}
|
|
52
|
+
CornerRadius = UDim.new(0, 5);
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
55
|
|
|
56
56
|
Blend.New "TextButton" {
|
|
57
57
|
Text = Blend.Computed(depthOfFieldEffect2:ObserveVisible(), function(visible)
|
|
58
58
|
return string.format("Toggle 2 (%s)", visible and "on" or "off")
|
|
59
|
-
end)
|
|
59
|
+
end);
|
|
60
60
|
BackgroundColor3 = Blend.Computed(depthOfFieldEffect2:ObserveVisible(), function(visible)
|
|
61
61
|
return visible and Color3.new(0.5, 1, 0.5) or Color3.new(1, 0.5, 0.5)
|
|
62
|
-
end)
|
|
63
|
-
AutoButtonColor = true
|
|
64
|
-
Size = UDim2.new(0, 100, 0, 30)
|
|
62
|
+
end);
|
|
63
|
+
AutoButtonColor = true;
|
|
64
|
+
Size = UDim2.new(0, 100, 0, 30);
|
|
65
65
|
[Blend.OnEvent "Activated"] = function()
|
|
66
66
|
depthOfFieldEffect2:Toggle()
|
|
67
|
-
end
|
|
67
|
+
end;
|
|
68
68
|
|
|
69
69
|
Blend.New "UICorner" {
|
|
70
|
-
CornerRadius = UDim.new(0, 5)
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
70
|
+
CornerRadius = UDim.new(0, 5);
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
74
|
}))
|
|
75
75
|
|
|
76
76
|
return function()
|
|
77
77
|
maid:DoCleaning()
|
|
78
78
|
end
|
|
79
|
-
end
|
|
79
|
+
end
|