Beispiel #1
0
        public static ReturnStatus DestroyShapeInstance(ref INTERACTION_SCENE scene,
                                                        ref INTERACTION_SHAPE_INSTANCE_HANDLE instance)
        {
            var rs = LeapIEDestroyShapeInstance(ref scene, ref instance);

            Logger.HandleReturnStatus(scene, "Destroy Shape Instance", LogLevel.CreateDestroy, rs);
            return(rs);
        }
Beispiel #2
0
        public static ReturnStatus UpdateShapeInstance(ref INTERACTION_SCENE scene,
                                                       ref INTERACTION_TRANSFORM transform,
                                                       ref INTERACTION_UPDATE_SHAPE_INFO updateInfo,
                                                       ref INTERACTION_SHAPE_INSTANCE_HANDLE instance)
        {
            var rs = LeapIEUpdateShapeInstance(ref scene, ref transform, ref updateInfo, ref instance);

            Logger.HandleReturnStatus(scene, "Update Shape Instance", LogLevel.AllCalls, rs);
            return(rs);
        }
Beispiel #3
0
        public static ReturnStatus CreateShapeInstance(ref INTERACTION_SCENE scene,
                                                       ref INTERACTION_SHAPE_DESCRIPTION_HANDLE handle,
                                                       ref INTERACTION_TRANSFORM transform,
                                                       ref INTERACTION_CREATE_SHAPE_INFO shapeInfo,
                                                       out INTERACTION_SHAPE_INSTANCE_HANDLE instance)
        {
            var rs = LeapIECreateShapeInstance(ref scene, ref handle, ref transform, ref shapeInfo, out instance);

            Logger.HandleReturnStatus(scene, "Create Shap eInstance", LogLevel.CreateDestroy, rs);
            return(rs);
        }
Beispiel #4
0
 private static extern ReturnStatus LeapIEUpdateShapeInstance(ref INTERACTION_SCENE scene,
                                                              ref INTERACTION_TRANSFORM transform,
                                                              ref INTERACTION_UPDATE_SHAPE_INFO updateInfo,
                                                              ref INTERACTION_SHAPE_INSTANCE_HANDLE instance);
Beispiel #5
0
 private static extern ReturnStatus LeapIEDestroyShapeInstance(ref INTERACTION_SCENE scene,
                                                               ref INTERACTION_SHAPE_INSTANCE_HANDLE instance);
Beispiel #6
0
 private static extern ReturnStatus LeapIECreateShapeInstance(ref INTERACTION_SCENE scene,
                                                              ref INTERACTION_SHAPE_DESCRIPTION_HANDLE handle,
                                                              ref INTERACTION_TRANSFORM transform,
                                                              ref INTERACTION_CREATE_SHAPE_INFO shapeInfo,
                                                              out INTERACTION_SHAPE_INSTANCE_HANDLE instance);