C# Class ARBinding, ARG-Zombies-Unity

显示文件 Open project: CoderBear/ARG-Zombies-Unity

Public Methods

Method Description
isCaptureAvailable ( ) : bool
pauseVideoTexture ( ) : void
setExposureMode ( ARExposureMode mode ) : void
setFocusMode ( ARFocusMode mode ) : void
startCameraCapture ( bool useFrontCameraIfAvailable, ARQuality quality ) : Texture2D
startVideoTexturePlayback ( string filename, int width, int height, bool shouldLoop ) : Texture2D
stopCameraCapture ( ) : void
stopVideoTexture ( ) : void
unpauseVideoTexture ( ) : void
updateMaterialUVScaleForTexture ( Material material, Texture2D texture ) : void

Private Methods

Method Description
_arIsCaptureAvailable ( ) : bool
_arPauseVideoTexturePlayback ( ) : void
_arSetExposureMode ( int exposureMode ) : void
_arSetFocusMode ( int focusMode ) : void
_arStartCameraCapture ( bool useFrontCameraIfAvailable, bool useLowQuality, int textureId ) : void
_arStartVideoTexturePlayback ( string filename, int textureId, bool shouldLoop ) : void
_arStopCameraCapture ( ) : void
_arStopVideoTexturePlayback ( ) : void
_arUnpauseVideoTexturePlayback ( ) : void
nearestPowerOfTwo ( float number ) : int

Method Details

isCaptureAvailable() public static method

public static isCaptureAvailable ( ) : bool
return bool

pauseVideoTexture() public static method

public static pauseVideoTexture ( ) : void
return void

setExposureMode() public static method

public static setExposureMode ( ARExposureMode mode ) : void
mode ARExposureMode
return void

setFocusMode() public static method

public static setFocusMode ( ARFocusMode mode ) : void
mode ARFocusMode
return void

startCameraCapture() public static method

public static startCameraCapture ( bool useFrontCameraIfAvailable, ARQuality quality ) : Texture2D
useFrontCameraIfAvailable bool
quality ARQuality
return UnityEngine.Texture2D

startVideoTexturePlayback() public static method

public static startVideoTexturePlayback ( string filename, int width, int height, bool shouldLoop ) : Texture2D
filename string
width int
height int
shouldLoop bool
return UnityEngine.Texture2D

stopCameraCapture() public static method

public static stopCameraCapture ( ) : void
return void

stopVideoTexture() public static method

public static stopVideoTexture ( ) : void
return void

unpauseVideoTexture() public static method

public static unpauseVideoTexture ( ) : void
return void

updateMaterialUVScaleForTexture() public static method

public static updateMaterialUVScaleForTexture ( Material material, Texture2D texture ) : void
material Material
texture UnityEngine.Texture2D
return void