let BaseNode=require("../Utils/BaseNode").BaseNode,APJS=require("../../../amazingpro"),CentralDataReset=require("../Utils/CentralDataReset").CentralDataReset;class CGSetTransform extends BaseNode{constructor(){super(),this.isLocal=null}beforeStart(t){this.sys=t}execute(t){var s,e;null!=this.inputs[1]()&&null!=this.inputs[5]()&&(s=this.inputs[1](),this.isLocal=this.inputs[5](),CentralDataReset.getInstance().registerPropertyResetCallbacksIfNotExistAutoMode(s,["localPosition","localScale","localRotation"]),e=this.inputs[2](),this.isLocal?s.localPosition=e:s.setWorldPosition(e),new APJS.Quaternionf,e=this.inputs[3](),this.isLocal?s.localEulerAngles=e:s.setWorldEulerAngles(e),e=this.inputs[4](),this.isLocal?s.localScale=e:s.setWorldScale(e),this.nexts[0])&&this.nexts[0]()}}exports.CGSetTransform=CGSetTransform;