Exposes User DataReadonly Exposes User DatatimestampThe timestamp (in seconds) in which this frame was received.
Returns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
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.
Snap OS
Example
js let onNewFrame = cameraTexture.control.onNewFrame; let registration = onNewFrame.add((frame) => { let cameraTs = frame.timestampMillis; // ... }); script.onStop.add(() => onNewFrame.remove(registration));