--- title: VRDisplay.depthNear slug: Web/API/VRDisplay/depthNear translation_of: Web/API/VRDisplay/depthNear original_slug: Web/API/VRDevice/depthNear ---
{{domxref("VRDisplay")}} インターフェイスの depthNear
プロパティは, eye view frustum(ビューフラスタム;つまりシーンの可視領域の境界) のnear平面を定義しているz-depthの取得と設定を行います.
var mydepthNear = vrDisplayInstance.depthNear; vrDisplayInstance.depthNear = 1.0;
z-depth をメートル単位で表すdouble値; 初期値は 0.01 です.
TBD.
Specification | Status | Comment |
---|---|---|
{{SpecName('WebVR', '#dom-vrdisplay-depthnear', 'depthNear')}} | {{Spec2('WebVR')}} | Initial definition |
{{Compat("api.VRDisplay.depthNear")}}