diff --git a/cocos/gi/light-probe/light-probe-group.ts b/cocos/gi/light-probe/light-probe-group.ts index e766cfb491..02d0dcd5b3 100644 --- a/cocos/gi/light-probe/light-probe-group.ts +++ b/cocos/gi/light-probe/light-probe-group.ts @@ -23,7 +23,19 @@ THE SOFTWARE. */ -import { ccclass, disallowMultiple, displayName, editable, executeInEditMode, menu, range, serializable, tooltip, type } from 'cc.decorator'; +import { + ccclass, + disallowMultiple, + displayName, + editable, + executeInEditMode, + menu, + range, + serializable, + tooltip, + type, + visible, +} from 'cc.decorator'; import { EDITOR } from 'internal:constants'; import { NodeEventType } from '../../scene-graph/node-event'; import { Component } from '../../scene-graph/component'; @@ -62,6 +74,7 @@ export class LightProbeGroup extends Component { @editable @type([Vec3]) + @visible(false) get probes (): Vec3[] { return this._probes; }