Esempio n. 1
0
        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;
        }
Esempio n. 2
0
        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]));
        }