Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

XRCamera3D

继承: Camera3D < Node3D < Node < Object

一个根据 XR 跟踪数据自动定位自身的相机节点。

描述

一个根据 XR 跟踪数据自动定位自身的相机节点。

XRController3D 相比,渲染线程能够访问更新的跟踪数据,因此 XRCamera3D 节点的位置可能会比用于渲染的位置滞后几毫秒。

注意: 如果 Viewport.use_xrtrue,则大多数相机属性都会被激活的 XRInterface 重写。唯一可信的属性是近裁面和远裁面。

教程

属性

PhysicsInterpolationMode

physics_interpolation_mode

2 (overrides Node)