UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

17 lines (14 loc) 626 B
// import {AttribValue} from '../../types/GlobalTypes'; // import {touchObjectAttribute} from './GetObjectAttribute'; // import {_getObjectAttributeRef2} from '../../core/reactivity/ObjectAttributeReactivity'; // import {NamedFunction2} from './_Base'; // import {Ref} from '@vue/reactivity'; // export class setObjectAttributeRef extends NamedFunction2<[AttribValue, Ref<AttribValue>]> { // static override type() { // return 'setObjectAttributeRef'; // } // func(attribValue: AttribValue, targetRef: Ref<AttribValue>): void { // targetRef.value = attribValue; // // _copyToRef(attribValue, targetRef); // } // }