示例#1
0
        public Body6Dof(int id, float confidence,
                        float p0, float p1, float p2,
                        float m0, float m1, float m2,
                        float m3, float m4, float m5,
                        float m6, float m7, float m8) : base(id)
        {
            this.Confidence = confidence;

            this.Position       = new Position3(p0, p1, p2);
            this.RotationMatrix = new Rotation3x3(m0, m1, m2, m3, m4, m5, m6, m7, m8);
        }
示例#2
0
        public BodyFlystick(int id, float confidence,
                            float p0, float p1, float p2,
                            float m0, float m1, float m2,
                            float m3, float m4, float m5,
                            float m6, float m7, float m8,
                            int[] buttons, int buttonCount,
                            float[] controllers, int controllerCount) : base(id)
        {
            this.Confidence = confidence;

            this.Position       = new Position3(p0, p1, p2);
            this.RotationMatrix = new Rotation3x3(m0, m1, m2, m3, m4, m5, m6, m7, m8);

            this.Buttons     = buttons;
            this.Controllers = controllers;

            this.ButtonCount     = buttonCount;
            this.ControllerCount = controllerCount;
        }