Example #1
0
        /// <summary>
        /// 基本的なパラメータ設定で初期化されたアイテム一覧を生成します。
        /// 初回起動時や、設定をリセットするときに使います。
        /// </summary>
        /// <returns></returns>
        public static ExternalTrackerFaceSwitchSetting LoadDefault()
        {
            var items = new ExternalTrackerFaceSwitchItem[]
            {
                //笑顔
                new ExternalTrackerFaceSwitchItem(FaceSwitchKeys.MouthSmile)
                {
                    ThresholdPercent = 70,
                    ClipName         = "Joy",
                },
                //細め (ジト目が作れるぞ!)
                new ExternalTrackerFaceSwitchItem(FaceSwitchKeys.EyeSquint)
                {
                    ThresholdPercent = 70,
                    ClipName         = "",
                },
                //細め (ジト目が作れるぞ!)
                new ExternalTrackerFaceSwitchItem(FaceSwitchKeys.EyeWide)
                {
                    ThresholdPercent = 70,
                    ClipName         = "",
                },
                //驚き
                new ExternalTrackerFaceSwitchItem(FaceSwitchKeys.BrowUp)
                {
                    ThresholdPercent = 70,
                    ClipName         = "",
                },
                //悲しい or 怒り
                new ExternalTrackerFaceSwitchItem(FaceSwitchKeys.BrowDown)
                {
                    ThresholdPercent = 70,
                    ClipName         = "Sorrow",
                },
                //頬を膨らます
                new ExternalTrackerFaceSwitchItem(FaceSwitchKeys.CheekPuff)
                {
                    ThresholdPercent = 70,
                    ClipName         = "",
                },
                //舌出し
                new ExternalTrackerFaceSwitchItem(FaceSwitchKeys.TongueOut)
                {
                    ThresholdPercent = 70,
                    ClipName         = "",
                }
            };

            return(new ExternalTrackerFaceSwitchSetting(items));
        }
 public ExternalTrackerFaceSwitchItemViewModel(ExternalTrackerViewModel parent, ExternalTrackerFaceSwitchItem model)
 {
     _parent = parent;
     _model  = model;
     SetLanguage(LanguageSelector.Instance.LanguageName == "Chinese" ? Languages.Chinese : Languages.English);
 }
Example #3
0
 public ExternalTrackerFaceSwitchItemViewModel(ExternalTrackerViewModel parent, ExternalTrackerFaceSwitchItem model)
 {
     _parent = parent;
     _model  = model;
     RefreshInstruction();
 }