C# Class Kinect.PortraitBackground

Sets the color background image in portrait mode. The aspect ratio of the game view should be set to 9:16 for Kinect v2 or 3:4 for Kinect v1.
Inheritance: UnityEngine.MonoBehaviour
Show file Open project: BrainProject/UnityTemp Class Usage Examples

Public Methods

Method Description
GetBackgroundRect ( ) : Rect

Gets the background rectangle in pixels. This rectangle can be provided as an argument to the GetJointPosColorOverlay()-KM function.

Start ( ) : void

Method Details

GetBackgroundRect() public method

Gets the background rectangle in pixels. This rectangle can be provided as an argument to the GetJointPosColorOverlay()-KM function.
public GetBackgroundRect ( ) : Rect
return UnityEngine.Rect

Start() public method

public Start ( ) : void
return void