C# Class LeapImageRetriever

Inheritance: MonoBehaviour
Afficher le fichier Open project: leapmotion/ImageGrid Class Usage Examples

Méthodes publiques

Свойство Type Description
gammaCorrection float
handController HandController
retrievedEye EYE

Méthodes publiques

Méthode Description
ImageNow ( ) : long
LeapNow ( ) : long
OnPreRender ( ) : void
Start ( ) : void
Update ( ) : void
registerImageBasedMaterial ( LeapImageBasedMaterial imageBasedMaterial ) : void
unregisterImageBasedMaterial ( LeapImageBasedMaterial imageBasedMaterial ) : void

Private Methods

Méthode 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 méthode

public ImageNow ( ) : long
Résultat long

LeapNow() public méthode

public LeapNow ( ) : long
Résultat long

OnPreRender() public méthode

public OnPreRender ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

registerImageBasedMaterial() public static méthode

public static registerImageBasedMaterial ( LeapImageBasedMaterial imageBasedMaterial ) : void
imageBasedMaterial LeapImageBasedMaterial
Résultat void

unregisterImageBasedMaterial() public static méthode

public static unregisterImageBasedMaterial ( LeapImageBasedMaterial imageBasedMaterial ) : void
imageBasedMaterial LeapImageBasedMaterial
Résultat void

Property Details

gammaCorrection public_oe property

public float gammaCorrection
Résultat float

handController public_oe property

public HandController handController
Résultat HandController

retrievedEye public_oe property

public EYE retrievedEye
Résultat EYE