From c34d029b68f83ac39a02132303828962356aeb15 Mon Sep 17 00:00:00 2001 From: Zhou Zhenglong Date: Fri, 15 Nov 2024 11:10:19 +0800 Subject: [PATCH] make property private --- .../default_renderpipeline/builtin-dof-pass.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/editor/assets/default_renderpipeline/builtin-dof-pass.ts b/editor/assets/default_renderpipeline/builtin-dof-pass.ts index 1b581356821..558fd989ef6 100644 --- a/editor/assets/default_renderpipeline/builtin-dof-pass.ts +++ b/editor/assets/default_renderpipeline/builtin-dof-pass.ts @@ -71,19 +71,19 @@ export class BuiltinDepthOfFieldPass extends BuiltinPipelinePassBuilder renderOrder = 150; @property - _enableDof = false; + private _enableDof = false; @property - _material: Material | null = null; + private _material: Material | null = null; @property - _minRange = 0; + private _minRange = 0; @property - _maxRange = 2; + private _maxRange = 2; @property - _blurRadius = 1; + private _blurRadius = 1; @property - _intensity = 1; + private _intensity = 1; @property - _focusPos = new Vec3(0, 0, 0); + private _focusPos = new Vec3(0, 0, 0); // DepthOfField @property({