Experimental
Exposes User Data
Wearable Only
Readonly
Experimental
timestampThe timestamp (in milliseconds) in which this frame was received.
Experimental
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
An entity which provided metadata about the current camera image provided by CameraTextureProvider. Modeled after VideoFrame web API
Example
js let onNewFrame = cameraTexture.control.onNewFrame; let registration = onNewFrame.add((frame) => { let cameraTs = frame.timestampMillis; // ... }); script.onStop.add(() => onNewFrame.remove(registration));