summaryrefslogtreecommitdiff
path: root/VRCSDK3Avatars/Assets/Resources/GestureManager/Scripts/Editor/Modules/Vrc3/Vrc3DefaultParams.cs
blob: 43bba81f4eb127a1b3e0341e33e9b3b88ca511a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#if VRC_SDK_VRCSDK3
using System.Collections.Generic;
using UnityEngine;

namespace GestureManager.Scripts.Editor.Modules.Vrc3
{
    public static class Vrc3DefaultParams
    {
        internal const string GestureRightWeight = "GestureRightWeight";
        internal const string GestureLeftWeight = "GestureLeftWeight";
        internal const string AvatarVersion = "AvatarVersion";
        internal const string TrackingType = "TrackingType";
        internal const string GestureRight = "GestureRight";
        internal const string GestureLeft = "GestureLeft";
        internal const string VelocityX = "VelocityX";
        internal const string VelocityY = "VelocityY";
        internal const string VelocityZ = "VelocityZ";
        internal const string InStation = "InStation";
        internal const string Grounded = "Grounded";
        internal const string MuteSelf = "MuteSelf";
        internal const string Upright = "Upright";
        internal const string IsLocal = "IsLocal";
        internal const string Seated = "Seated";
        internal const string VRMode = "VRMode";
        internal const string Vise = "Viseme";
        internal const string Afk = "AFK";
        
        private const string VrcFaceBlendH = "VrcFaceBlendH";
        private const string VrcFaceBlendV = "VrcFaceBlendV";
        private const string VrcEmote = "VRCEmote";
        private const string AngularY = "AngularY";
        private const string Voice = "Voice";

        public static IEnumerable<(string name, AnimatorControllerParameterType type)> Parameters => new[]
        {
            (GestureRightWeight, AnimatorControllerParameterType.Float),
            (GestureLeftWeight, AnimatorControllerParameterType.Float),
            (VrcFaceBlendH, AnimatorControllerParameterType.Float),
            (VrcFaceBlendV, AnimatorControllerParameterType.Float),
            (AvatarVersion, AnimatorControllerParameterType.Int),
            (TrackingType, AnimatorControllerParameterType.Int),
            (GestureRight, AnimatorControllerParameterType.Int),
            (GestureLeft, AnimatorControllerParameterType.Int),
            (VelocityX, AnimatorControllerParameterType.Float),
            (VelocityY, AnimatorControllerParameterType.Float),
            (VelocityZ, AnimatorControllerParameterType.Float),
            (InStation, AnimatorControllerParameterType.Bool),
            (AngularY, AnimatorControllerParameterType.Float),
            (Grounded, AnimatorControllerParameterType.Bool),
            (MuteSelf, AnimatorControllerParameterType.Bool),
            (VrcEmote, AnimatorControllerParameterType.Int),
            (Upright, AnimatorControllerParameterType.Float),
            (IsLocal, AnimatorControllerParameterType.Bool),
            (Seated, AnimatorControllerParameterType.Bool),
            (VRMode, AnimatorControllerParameterType.Int),
            (Voice, AnimatorControllerParameterType.Float),
            (Vise, AnimatorControllerParameterType.Int),
            (Afk, AnimatorControllerParameterType.Bool)
        };
    }
}
#endif