mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
hidden probes on the inspector (#13325)
Co-authored-by: BppleMan <bppleman@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user