C# Class LeapImageRetriever

Inheritance: MonoBehaviour
ファイルを表示 Open project: leapmotion/ImageGrid Class Usage Examples

Public Properties

Property Type Description
gammaCorrection float
handController HandController
retrievedEye EYE

Public Methods

Method Description
ImageNow ( ) : long
LeapNow ( ) : long
OnPreRender ( ) : void
Start ( ) : void
Update ( ) : void
registerImageBasedMaterial ( LeapImageBasedMaterial imageBasedMaterial ) : void
unregisterImageBasedMaterial ( LeapImageBasedMaterial imageBasedMaterial ) : void

Private Methods

Method Description
bytesPerPixel ( TextureFormat format ) : int
encodeFloat ( float value, byte &byte0, byte &byte1 ) : void
getTextureFormat ( Image image ) : TextureFormat
initDistortion ( Image image ) : void
initImageBasedMaterial ( LeapImageBasedMaterial imageBasedMaterial ) : void
initMainTexture ( Image image ) : void
loadDistortion ( Image image ) : void
loadMainTexture ( Image sourceImage ) : void
totalBytes ( Texture2D texture ) : int
updateImageBasedMaterial ( LeapImageBasedMaterial imageBasedMaterial, Image &image ) : void

Method Details

ImageNow() public method

public ImageNow ( ) : long
return long

LeapNow() public method

public LeapNow ( ) : long
return long

OnPreRender() public method

public OnPreRender ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

registerImageBasedMaterial() public static method

public static registerImageBasedMaterial ( LeapImageBasedMaterial imageBasedMaterial ) : void
imageBasedMaterial LeapImageBasedMaterial
return void

unregisterImageBasedMaterial() public static method

public static unregisterImageBasedMaterial ( LeapImageBasedMaterial imageBasedMaterial ) : void
imageBasedMaterial LeapImageBasedMaterial
return void

Property Details

gammaCorrection public_oe property

public float gammaCorrection
return float

handController public_oe property

public HandController handController
return HandController

retrievedEye public_oe property

public EYE retrievedEye
return EYE