let BaseNode=require("../Utils/BaseNode").BaseNode,APJS=require("../../../amazingpro");class CGRayHitInfo extends BaseNode{constructor(){super()}getOutput(t){var e=this.inputs[0]();switch(t){case 0:return e?e.hitObject:null;case 1:return e?e.colliderComp:null;case 2:return e?e.hitPoint:new APJS.Vector3f(0,0,0);case 3:return e?e.hitNormal:new APJS.Vector3f(0,0,0);case 4:return e?e.hitDistance:0;case 5:return e.rigidBodyComp||null;default:return null}}resetOnRecord(t){this.lastOutputs[0]=null,this.lastOutputs[1]=null,this.lastOutputs[5]=null}}exports.CGRayHitInfo=CGRayHitInfo;