Example #1
0
        public TextureFrameRequest(TextureFramePool textureFramePool, Action <TextureFrame> callback) : base()
        {
            textureFramePool.StartCoroutine(textureFramePool.WaitForTextureFrame((TextureFrame textureFrame) => {
                callback(textureFrame);

                this.textureFrame = textureFrame;
            }));
        }