示例#1
0
        /// <summary>
        ///     Init Finch Core.
        /// </summary>
        /// <param name="controller"></param>
        /// <returns></returns>
        public static FinchInitError Init(FinchControllerType controller)
        {
            var options = new FinchInitOptions
            {
                controller = controller,
                platform   = 2,
                scanner    = 1
            };

            Interop.FinchSetCs(new FinchVector3(0, -1, 0), new FinchVector3(0, 0, 1), new FinchVector3(1, 0, 0));
            return(Interop.FinchInit(options));
        }
示例#2
0
 public static extern FinchInitError FinchInit(FinchInitOptions options);