C# Класс LeapImageRetriever

Наследование: MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
gammaCorrection float
handController HandController
retrievedEye EYE

Открытые методы

Метод Описание
ImageNow ( ) : long
LeapNow ( ) : long
OnPreRender ( ) : void
Start ( ) : void
Update ( ) : void
registerImageBasedMaterial ( LeapImageBasedMaterial imageBasedMaterial ) : void
unregisterImageBasedMaterial ( LeapImageBasedMaterial imageBasedMaterial ) : void

Приватные методы

Метод Описание
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

Описание методов

ImageNow() публичный Метод

public ImageNow ( ) : long
Результат long

LeapNow() публичный Метод

public LeapNow ( ) : long
Результат long

OnPreRender() публичный Метод

public OnPreRender ( ) : void
Результат void

Start() публичный Метод

public Start ( ) : void
Результат void

Update() публичный Метод

public Update ( ) : void
Результат void

registerImageBasedMaterial() публичный статический Метод

public static registerImageBasedMaterial ( LeapImageBasedMaterial imageBasedMaterial ) : void
imageBasedMaterial LeapImageBasedMaterial
Результат void

unregisterImageBasedMaterial() публичный статический Метод

public static unregisterImageBasedMaterial ( LeapImageBasedMaterial imageBasedMaterial ) : void
imageBasedMaterial LeapImageBasedMaterial
Результат void

Описание свойств

gammaCorrection публичное свойство

public float gammaCorrection
Результат float

handController публичное свойство

public HandController handController
Результат HandController

retrievedEye публичное свойство

public EYE retrievedEye
Результат EYE