GetCameraAngle() 개인적인 메소드

private GetCameraAngle ( float &angle ) : void
angle float
리턴 void
예제 #1
0
    /// <summary>
    /// gets color texture image from Kinect RGB camera
    /// </summary>
    /// <returns>RGB image</returns>
//    public Texture2D GetTextureImage() {
//
//        return this.texture;
//    }


    /// <summary>
    /// gets depth data from Kinect depth camera
    /// </summary>
    /// <returns>2D array of pixel depths as bytes</returns>
    /// <remarks>depth[x=0][y=0] corresponds to top-left corner of image</remarks>
//    public short[][] GetDepthData() {
//
//        return this.depth;
//    }


    /// <summary>
    /// returns current Kinect camera angle from horizontal
    /// </summary>
    /// <returns>camera angle from horizontal</returns>
    public float GetCameraAngle()
    {
        float cameraAngle = 0;

        KinectWrapper.GetCameraAngle(ref cameraAngle);
        return(cameraAngle);
    }