Returns the depth at the screen space position "point". The value returned is between 0 and 6,550, which corresponds to the distance the point is from the camera in centimeters, or world-space units. If depth data is not available, -1 will be returned. Note that depth data isn't available during the very first Initialize event, before TurnOn event fires.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
Generated using TypeDoc
Description
Provides depth information of the video feed that the Lens is being applied to when available, such as in Lenses for Spectacles 3. Can be accessed from
mainPass.baseTex.control
of a Spectacles Depth material.See the Lenses for Spectacles guide for more information.
Example