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 {
205205 objects : NgtInstanceNode [ ] ;
206206 nonObjects : NgtInstanceNode [ ] ;
207207 parent : NgtInstanceNode | null ;
208+ geometryStamp : number ;
208209}
209210
210211export interface NgtLocalState {
@@ -216,10 +217,13 @@ export interface NgtLocalState {
216217 parent : Signal < NgtLocalInstanceState [ 'parent' ] > ;
217218 objects : Signal < NgtLocalInstanceState [ 'objects' ] > ;
218219 nonObjects : Signal < NgtLocalInstanceState [ 'nonObjects' ] > ;
220+
219221 // shortcut to add/remove object to list
220222 add : ( instance : NgtInstanceNode , type : 'objects' | 'nonObjects' ) => void ;
221223 remove : ( instance : NgtInstanceNode , type : 'objects' | 'nonObjects' ) => void ;
222224 setParent : ( parent : NgtInstanceNode | null ) => void ;
225+ updateGeometryStamp : ( ) => void ;
226+
223227 // if this THREE instance is a ngt-primitive
224228 primitive ?: boolean ;
225229 // if this THREE object has any events bound to it
You can’t perform that action at this time.
0 commit comments