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