Hello. Can you help me please? May be @Joe_Ward. Or somebody from leap motion team or somedy from this forum.
I am truing to get an image data from the leap motion, but i cant.
I am using c# and uniy 2018.2.14f1 and SDK 4.4.0
I looked here: https://leapmotion.github.io/UnityModules/class_leap_1_1_image.html#a00c641aa33c713295a540db465b78614
But i dont undesrstand this..
What do i need to do, to get the image?
I tryed to write something like that:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Leap;
using Leap.Unity;
public class Saving_img : MonoBehaviour {
void Start () {
var img=Image(1,1,Image.Data(0),Image.Data(1));
}
}
and there is an error:
" Expression denotes a type', where a
variable', value' or
method group' was expected"
this does not make sense, because I need to explicitly specify an image from the right or from the left camera I get
How can i just get an image to save it like a grayscale bitmap???
With thanks.
P.S. I made this construction like the project in university:
https://drive.google.com/open?id=1kyktw20szzMKqgFQXzJT2ZkhnkLZYyFB