Add SceneObject as a child of the camera's SceneObject
SceneObject to attach
Returns the back vector of the camera. This is actually the front vector because the camera is reversed in Lens Studio.
Protected
bfsClears the renderTarget with the provided color before drawing to it
the color to clear the renderTarget with
Returns the forward vector of the camera. This is actually the back vector because the camera is reversed in Lens Studio.
Returns the clear color applied to the camera
Returns the camera component
the magnitude to multiply the camera's forward direction by
if the camera's forward direction should be projected to be parallel to ground
a position in world space in front of the camera by x units
the magnitude to multiply the camera's forward direction by
a position in world space in front of the camera (parallel to ground)
Returns the camera's local scale
Protected
getChecks the SceneObject passed if it has a Camera component with the right render target. Returns a reference to the Camera if true, null if not.
Returns the camera's transform
Returns the camera's world position
Returns the camera's world transform
vec3 representing the position in world space
whether a position is in camera FoV or not
Returns the layer set to which this camera is rendering to
Returns the right vector of the camera.
Returns the camera's world position projected from screen space coordinates at a given z depth
Protected
setReturns the up vector of the camera.
Holds a reference to the AR camera.
Remarks
AR camera is defined as the Camera in the scene that has a deviceTrackingComponent with tracking mode set to World.