Skip to content

Commit aacc0d7

Browse files
authored
add help for reflection probe and rename Fxaa (#15790)
1 parent d83d2ac commit aacc0d7

5 files changed

Lines changed: 12 additions & 9 deletions

File tree

cocos/3d/reflection-probe/reflection-probe-component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222
THE SOFTWARE.
2323
*/
24-
import { ccclass, executeInEditMode, menu, playOnFocus, serializable, tooltip, type, visible } from 'cc.decorator';
24+
import { ccclass, executeInEditMode, help, menu, playOnFocus, serializable, tooltip, type, visible } from 'cc.decorator';
2525
import { EDITOR, EDITOR_NOT_IN_PREVIEW } from 'internal:constants';
2626
import { CCBoolean, CCObject, Color, Enum, Vec3 } from '../../core';
2727

@@ -62,6 +62,7 @@ export enum ProbeResolution {
6262
@menu('Rendering/ReflectionProbe')
6363
@executeInEditMode
6464
@playOnFocus
65+
@help('i18n:cc.ReflectionProbe')
6566
export class ReflectionProbe extends Component {
6667
protected static readonly DEFAULT_CUBE_SIZE: Readonly<Vec3> = new Vec3(1, 1, 1);
6768
protected static readonly DEFAULT_PLANER_SIZE: Readonly<Vec3> = new Vec3(5, 0.5, 5);
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { ccclass, disallowMultiple, executeInEditMode, help, menu } from '../../../core/data/decorators';
22
import { PostProcessSetting } from './post-process-setting';
33

4-
@ccclass('cc.Fxaa')
5-
@help('cc.Fxaa')
6-
@menu('PostProcess/Fxaa')
4+
@ccclass('cc.FXAA')
5+
@help('cc.FXAA')
6+
@menu('PostProcess/FXAA')
77
@disallowMultiple
88
@executeInEditMode
9-
export class Fxaa extends PostProcessSetting {
9+
export class FXAA extends PostProcessSetting {
1010
}

cocos/rendering/post-process/passes/fxaa-pass.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import { getCameraUniqueID } from '../../custom/define';
66
import { passContext } from '../utils/pass-context';
77

88
import { getSetting, SettingPass } from './setting-pass';
9-
import { Fxaa } from '../components/fxaa';
9+
import { FXAA } from '../components/fxaa';
1010

1111
export class FxaaPass extends SettingPass {
12-
get setting () { return getSetting(Fxaa); }
12+
get setting () { return getSetting(FXAA); }
1313

1414
name = 'FxaaPass'
1515
effectName = 'pipeline/post-process/fxaa-hq';

editor/i18n/en/localization.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,13 @@ module.exports = link(mixin({
137137
BlitScreen: `${url}/${version}/manual/en/render-pipeline/post-process/blit-screen.html`,
138138
TAA: `${url}/${version}/manual/en/render-pipeline/post-process/index.html`,
139139
FSR: `${url}/${version}/manual/en/render-pipeline/post-process/index.html`,
140-
Fxaa: `${url}/${version}/manual/en/render-pipeline/post-process/index.html`,
140+
FXAA: `${url}/${version}/manual/en/render-pipeline/post-process/index.html`,
141141
Bloom: `${url}/${version}/manual/en/render-pipeline/post-process/index.html`,
142142
HBAO: `${url}/${version}/manual/en/render-pipeline/post-process/index.html`,
143143
ColorGrading: `${url}/${version}/manual/en/render-pipeline/post-process/index.html`,
144144
Skin: `${url}/${version}/manual/en/shader/advanced-shader/skin.html`,
145145
RenderRoot2D: `${url}/${version}/manual/en/ui-system/components/editor/renderroot2d.html`,
146+
ReflectionProbe: `${url}/${version}/manual/en/concepts/scene/light/probe/reflection-art-workflow.html`,
146147
},
147148
assets: {
148149
javascript: `${url}/${version}/manual/en/concepts/scene/node-component.html`,

editor/i18n/zh/localization.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,13 @@ module.exports = link(mixin({
137137
BlitScreen: `${url}/${version}/manual/zh/render-pipeline/post-process/blit-screen.html`,
138138
TAA: `${url}/${version}/manual/zh/render-pipeline/post-process/index.html`,
139139
FSR: `${url}/${version}/manual/zh/render-pipeline/post-process/index.html`,
140-
Fxaa: `${url}/${version}/manual/zh/render-pipeline/post-process/index.html`,
140+
FXAA: `${url}/${version}/manual/zh/render-pipeline/post-process/index.html`,
141141
Bloom: `${url}/${version}/manual/zh/render-pipeline/post-process/index.html`,
142142
HBAO: `${url}/${version}/manual/zh/render-pipeline/post-process/index.html`,
143143
ColorGrading: `${url}/${version}/manual/zh/render-pipeline/post-process/index.html`,
144144
Skin: `${url}/${version}/manual/zh/shader/advanced-shader/skin.html`,
145145
RenderRoot2D: `${url}/${version}/manual/zh/ui-system/components/editor/renderroot2d.html`,
146+
ReflectionProbe: `${url}/${version}/manual/zh/concepts/scene/light/probe/reflection-art-workflow.html`,
146147
},
147148
assets: {
148149
javascript: `${url}/${version}/manual/zh/concepts/scene/node-component.html`,

0 commit comments

Comments
 (0)