--- title: VRDisplay.depthFar slug: Web/API/VRDisplay/depthFar translation_of: Web/API/VRDisplay/depthFar original_slug: Web/API/VRDevice/depthFar ---
{{APIRef("WebVR API")}}{{SeeCompatTable}}

{{domxref("VRDisplay")}} インターフェイスの depthFar プロパティは,eye view frustum(ビューフラスタム;つまりシーンの可視領域の境界) のfar平面を定義しているz-depthの取得と設定を行います.

シンタックス

var mydepthFar = vrDisplayInstance.depthFar;

vrDisplayInstance.depthFar = 7500.0;

z-depth をメートル単位で表すdouble値; 初期値は 10000.0 です.

TBD.

仕様

Specification Status Comment
{{SpecName('WebVR', '#dom-vrdisplay-depthfar', 'depthFar')}} {{Spec2('WebVR')}} Initial definition

ブラウザの互換性

{{Compat("api.VRDisplay.depthFar")}}

参照