//static public implicit operator Native.Transform(LeapTransform t) { return t.ToNative(); } internal Native.Transform ToNative() { Native.Transform t = new Native.Transform(); t.pos = Position.ToNative(); t.rot = Rotation.ToNative(); return(t); }
public static Shape CreateBox(LeapVector3 halfSize, float radius) { return new Shape(Native.CreateBoxShape(halfSize.ToNative(), radius)); }
public static Shape CreateBox(LeapVector3 halfSize, float radius) { return(new Shape(Native.CreateBoxShape(halfSize.ToNative(), radius))); }