📄 qtvr08.html
字号:
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Syntax</b> </font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"></font><code>CallSprite(IconID@"IconTitle",
#VRPtToHotSpotID, </code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">point</font><code>)
</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"></font><br>
</td>
</tr>
<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Type</b> </font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">Xtra
function</font><br>
</td>
</tr>
<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Description</b> </font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">This
function returns the ID of the hot spot, if any, that is at the specified
point. If there is no hot spot, the function returns 0.</font>
<p> <font face="Geneva, Arial, Helvetica, sans-serif" size="-1">Hot spots
and their ID numbers are set by the application used to create or edit
the QuickTime VR movie.</font><br>
</td>
</tr>
<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Example</b> </font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">The
following statement sets the value of </font><code>myHotSpot</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">
to the ID of the hot spot that the user last clicked. If the user did not
click a hot spot, </font><code>myHotSpot</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">
is set to 0.</font>
<p>
<pre>
myHotSpot := CallSprite(@"QT3", #VRPtToHotSpotID, point(clickX, clickY))
</pre>
<p> <br>
<font face="Arial, Helvetica, sans-serif"><b>VRStaticQuality</b></font><br>
</td>
</tr>
<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Syntax</b> </font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"></font><code>GetSpriteProperty(IconID@"IconTitle",
#VRStaticQuality)</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"></font>
<p> <font face="Geneva, Arial, Helvetica, sans-serif" size="-1"></font><code>SetSpriteProperty(IconID@"IconTitle",
#VRStaticQuality, </code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">value</font><code>)</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"></font><br>
</td>
</tr>
<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Type</b> </font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">Sprite
property</font><br>
</td>
</tr>
<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Description</b> </font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">This
property specifies the codec quality used when the panorama image is static.
Possible values are </font><code>#minQuality</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">,
</font><code>#maxQuality</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">,
and </font><code>#normalQuality</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">.
</font>
<p> <font face="Geneva, Arial, Helvetica, sans-serif" size="-1">This property
can be tested and set.</font>
<p> <br>
<font face="Arial, Helvetica, sans-serif"><b>VRSwing</b></font><br>
</td>
</tr>
<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Syntax</b></font></td>
<td valign="top"> CallSprite(IconID@"IconTitle", #VRSwing, pan, tilt, FieldOfView,
SpeedToSwing)<br>
</td>
</tr>
<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Type</b></font></td>
<td valign="top"><font face="Arial, Helvetica, sans-serif" size="-1"> Xtra
function<br>
</font></td>
</tr>
<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Description</b></font></td>
<td valign="top"> <font face="Verdana, Arial, Helvetica, sans-serif" size="-1">The
parameters </font>pan, tilt,<font face="Verdana, Arial, Helvetica, sans-serif" size="-1">
and </font>FieldOfView<font face="Verdana, Arial, Helvetica, sans-serif" size="-1">
are the settings you want the QTVR movie to swing from its current position.
The parameter SpeedToSwing is the rate at which the swing takes place裺pecify
an integer from 1 to 10 (slow to fast). QuickTime 1 When you finish selecting
options, click OK. If you need to change the settings for your QuickTime
sprite icon, double-click on the icon to edit it. Your settings are saved
until you reopen the QuickTime Xtra Properties dialog box. When you open
the QuickTime Xtra Properties dialog box, all settings revert to the defaults.</font>
<p><font face="Arial, Helvetica, sans-serif"><b>VRTilt<br>
</b></font></p>
</td>
</tr>
<tr>
<td valign="top" align="right"> </td>
<td valign="top">
<p> </p>
</td>
</tr>
<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Syntax</b> </font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"></font><code>GetSpriteProperty(IconID@"IconTitle",
#VRTilt)</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"></font>
<p> <font face="Geneva, Arial, Helvetica, sans-serif" size="-1"></font><code>SetSpriteProperty(IconID@"IconTitle",
#VRTilt, </code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">degrees</font><code>)</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"></font><br>
</td>
</tr>
<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Type</b> </font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">Sprite
property</font><br>
</td>
</tr>
<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Description</b> </font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">This
property is the current tilt, in degrees, of the QTVR movie. </font>
<p> <font face="Geneva, Arial, Helvetica, sans-serif" size="-1">This property
can be tested and set.</font><br>
</td>
</tr>
<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Example</b> </font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">The
following statements adjust the sprite's tilt angle by one degree:</font>
<p> <font face="Geneva, Arial, Helvetica, sans-serif" size="-1"></font><code>currentTilt
:= GetSpriteProperty(@"QT3", #VRTilt)</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"></font>
<p>
<pre>
<code>SetSpriteProperty(@"QT3", #VRTilt, currentTilt + 1)</code>
</pre>
<font face="Geneva, Arial, Helvetica, sans-serif" size="2">
<p> <br>
<font face="Arial, Helvetica, sans-serif"><b>VRWarpMode</b></font><br>
</font></td>
</tr>
<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Syntax</b> </font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"></font><code>GetSpriteProperty(IconID@"IconTitle",
#VRWarpMode)</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"></font>
<p> <font face="Geneva, Arial, Helvetica, sans-serif" size="-1"></font><code>SetSpriteProperty(IconID@"IconTitle",
#VRWarpMode, </code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">value</font><code>)</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2"></font><br>
</td>
</tr>
<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Type</b> </font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">Sprite
property</font><br>
</td>
</tr>
<tr>
<td valign="top" align="right"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1"><b>Description</b> </font></td>
<td valign="top"><font face="Geneva, Arial, Helvetica, sans-serif" size="-1">This
property specifies the type of warping done on the panorama. </font>
<p> <font face="Geneva, Arial, Helvetica, sans-serif" size="-1">Possible
values are </font><code>#full</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">,
</font><code>#partial</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">,
or </font><code>#none</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">.
</font>
<p> <font face="Geneva, Arial, Helvetica, sans-serif" size="-1">Warping
is the method used by QuickTime VR to integrate separate images to simulate
a seamless view. The </font><code>VRWarpMode</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">
setting determines how much QuickTime VR blends the images to achieve
this effect. When </font><code>VRWarpMode </code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">is
set to </font><code>#none</code><font face="Geneva, Arial, Helvetica, sans-serif" size="2">,
QuickTime VR does not blend the images.</font>
<p> <font face="Geneva, Arial, Helvetica, sans-serif" size="-1">This property
can be tested and set. When the property is set, it determines the warping
for both static and motion modes. When this property is tested and the
values for static and motion modes are different, this property's value
is the value for the current mode.</font>
<p> <font face="Geneva, Arial, Helvetica, sans-serif" size="-1"></font>
<p>
<table border="0">
<tr>
<td><a href="qt3_aw5.html" onMouseOver="swapImage('back','images/contentsover.gif'); window.status='To Table of Contents';return true" onMouseOut="swapImage('back','images/contents.gif')"><img src="images/contents.gif" name="back" border="0" vspace=1 alt="To Table of Contents"></a></td>
<td><a href="qtvr07.html" onMouseOver="swapImage('prev','images/prevover.gif'); window.status='Back to previous document';return true" onMouseOut="swapImage('prev','images/prev.gif')"><img src="images/prev.gif" name="prev" border="0" vspace=1 alt="Back to Previous document"></a></td>
</tr>
</table>
<br>
<p>
</td>
</tr>
</table>
<br>
<p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -