//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); }
internal LeapTransform(Native.Transform t) { Position = new LeapVector3(t.pos); Rotation = new LeapQuaternion(t.rot); }