public void setPick(uint x, uint y) { pick = new udRenderPicking(); pick.x = x; pick.y = y; Marshal.StructureToPtr(pick, options.pPick, true); pickRendered = false; pickSet = true; }
unsafe public UnityEngine.Vector3 PickLocation() { udRenderPicking pick = this.Pick; return(new UnityEngine.Vector3((float)pick.pointCenter[0], (float)pick.pointCenter[1], (float)pick.pointCenter[2])); }