File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ export interface NgtLocalInstanceState {
205
205
objects : NgtInstanceNode [ ] ;
206
206
nonObjects : NgtInstanceNode [ ] ;
207
207
parent : NgtInstanceNode | null ;
208
+ geometryStamp : number ;
208
209
}
209
210
210
211
export interface NgtLocalState {
@@ -216,10 +217,13 @@ export interface NgtLocalState {
216
217
parent : Signal < NgtLocalInstanceState [ 'parent' ] > ;
217
218
objects : Signal < NgtLocalInstanceState [ 'objects' ] > ;
218
219
nonObjects : Signal < NgtLocalInstanceState [ 'nonObjects' ] > ;
220
+
219
221
// shortcut to add/remove object to list
220
222
add : ( instance : NgtInstanceNode , type : 'objects' | 'nonObjects' ) => void ;
221
223
remove : ( instance : NgtInstanceNode , type : 'objects' | 'nonObjects' ) => void ;
222
224
setParent : ( parent : NgtInstanceNode | null ) => void ;
225
+ updateGeometryStamp : ( ) => void ;
226
+
223
227
// if this THREE instance is a ngt-primitive
224
228
primitive ?: boolean ;
225
229
// if this THREE object has any events bound to it
You can’t perform that action at this time.
0 commit comments