Gets the images from the phone camera and send it to the ManoMotionManager. More...
Data Fields | |
ManoMotionFrame | currentManoMotionFrame |
ManoVisualization | manoVisualization |
Data Fields inherited from InputManagerBaseClass | |
bool | isFrontFacing |
Protected Member Functions | |
void | GetCameraFrameInformation () |
Gets the camera frame pixel colors. More... | |
void | ResizeManoMotionFrameResolution (int newWidth, int newHeight) |
Sets the resolution of the currentManoMotion frame that is passed to the subscribers that want to make use of the input camera feed. More... | |
Protected Member Functions inherited from InputManagerBaseClass | |
virtual void | ResizeCurrentFrameTexture (int width, int height) |
virtual void | ForceApplicationPermissions () |
Forces the application to ask for camera permissions and external storage read and writte. More... | |
virtual void | UpdateFrame< T > (T parameter) |
virtual void | UpdateFrame () |
Private Member Functions | |
void | Awake () |
void | Start () |
void | InitializeManoMotionFrame () |
Initializes the ManoMotion Frame and lets the subscribers of the event know of its information. More... | |
void | Update () |
void | OnEnable () |
Start the camera when enabled. More... | |
void | OnDisable () |
Stops the camera when disabled. More... | |
void | OnApplicationFocus (bool hasFocus) |
Stops processing when application is put to background. More... | |
void | OnApplicationPause (bool pauseStatus) |
Stops the processing if application is paused. More... | |
Private Attributes | |
WebCamDevice[] | webCamDevices |
The phone cameras. More... | |
WebCamTexture | backFacingCamera |
bool | isPaused = false |
Static Private Attributes | |
const int | STARTING_WIDTH = 640 |
const int | STARTING_HEIGHT = 480 |
Additional Inherited Members | |
Static Public Attributes inherited from InputManagerBaseClass | |
static Action< ManoMotionFrame > | OnFrameUpdated |
static Action< ManoMotionFrame > | OnFrameInitialized |
static Action< ManoMotionFrame > | OnFrameResized |
static Action< DeviceOrientation > | OnOrientationChanged |
static Action< AddOn > | OnAddonSet |
static Action | OnChangeCamera |
Protected Attributes inherited from InputManagerBaseClass | |
int | rezMinValue |
int | rezMaxValue |
Gets the images from the phone camera and send it to the ManoMotionManager.
|
inlineprivate |
|
inlineprotected |
Gets the camera frame pixel colors.
|
inlineprivate |
Initializes the ManoMotion Frame and lets the subscribers of the event know of its information.
|
inlineprivate |
Stops processing when application is put to background.
hasFocus | If application is running or is in background |
|
inlineprivate |
Stops the processing if application is paused.
pauseStatus | If application is paused or not |
|
inlineprivate |
Stops the camera when disabled.
|
inlineprivate |
Start the camera when enabled.
|
inlineprotected |
Sets the resolution of the currentManoMotion frame that is passed to the subscribers that want to make use of the input camera feed.
newWidth | Requires a width value. |
newHeight | Requires a height value. |
|
inlineprivate |
|
inlineprivate |
|
private |
ManoMotionFrame InputManagerPhoneCamera.currentManoMotionFrame |
|
private |
ManoVisualization InputManagerPhoneCamera.manoVisualization |
|
staticprivate |
|
staticprivate |
|
private |
The phone cameras.