Skip to content

Commit

Permalink
Update webvr-zh_CN.bs
Browse files Browse the repository at this point in the history
  • Loading branch information
web3d committed Jun 12, 2015
1 parent c6d9c07 commit fb32652
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions webvr-zh_CN.bs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ interface VRPositionState {
};
</pre>

### Attributes ### {#vrpositionstateattributes}
### 属性 ### {#vrpositionstateattributes}

<dfn attribute for=VRPositionState>timeStamp</dfn>
Monotonically increasing value that allows the author to determine if position
Expand Down Expand Up @@ -198,7 +198,7 @@ interface VREyeParameters {
};
</pre>

### Attributes ### {#vreyeparametersattributes}
### 属性 ### {#vreyeparametersattributes}

<dfn attribute for=VREyeParameters>minimumFieldOfView</dfn>
Describes the minimum supported field of view for the eye.
Expand Down Expand Up @@ -264,7 +264,7 @@ interface VRDevice {
};
</pre>

### Attributes ### {#vrdeviceattributes}
### 属性 ### {#vrdeviceattributes}

<dfn attribute for=VRDevice>hardwareUnitId</dfn>
An identifier for the distinct hardware unit that this {{VRDevice}} is a part
Expand Down Expand Up @@ -293,7 +293,7 @@ interface HMDVRDevice : VRDevice {
};
</pre>

### Methods ### {#hmdvrdevicemethods}
### 方法 ### {#hmdvrdevicemethods}

<dfn method for=HMDVRDevice>getEyeParameters(VREye whichEye)</dfn>
Return the current {{VREyeParameters}} for the given eye.
Expand All @@ -317,7 +317,7 @@ interface PositionSensorVRDevice : VRDevice {
};
</pre>

### Methods ### {#positionsensorvrdevicemethods}
### 备方法 ### {#positionsensorvrdevicemethods}

<dfn method for=HMDVRDevice>getState()</dfn>
Return a {{VRPositionState}} dictionary containing the state of this position
Expand All @@ -337,15 +337,15 @@ Return the current instantaneous sensor state.
Reset this sensor, treating its current position and orientation yaw as the
"origin/zero" values.

## Navigator Interface extension
## 导航器接口扩展

<pre class="idl">
partial interface Navigator {
Promise&lt;sequence&lt;VRDevice&gt&gt; getVRDevices();
};
</pre>

### Methods ### {#navigatormethods}
### 方法 ### {#navigatormethods}

<dfn method for=Navigator>getVRDevices()</dfn>
Return a Promise which resolves to a list of available {{VRDevice}}s.
Expand Down Expand Up @@ -380,4 +380,4 @@ navigator.getVRDevices().then(function(devices) {
</pre>
</div>

# Acknowledgements # {#ack}
# 致谢 # {#ack}

0 comments on commit fb32652

Please sign in to comment.