<doc>
  <legacy_id>2472</legacy_id>
  <name>constraints</name>
  <type>property</type>
  <syntax>
    <example>get the constraints of <i>player</i></example>
  </syntax>
  <library></library>
  <objects>
    <player/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Images &amp; Multimedia</category>
  </classification>
  <references>
    <property tag="tilt">tilt Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Limits the <property tag="pan">pan</property>, <property tag="tilt">tilt</property>, and <property tag="zoom">zoom</property> in a <glossary tag="QuickTime VR">QuickTime VR</glossary> movie.</summary>
  <examples>
    <example>get the constraints of player "Arctic"</example>
    <example>set the pan of me to item 2 of line 1 of the constraints of me</example>
  </examples>
  <description>
    <p>Use the <b>constraints</b> <glossary tag="property">property</glossary> to find out where the user is in a <glossary tag="QuickTime VR">QuickTime VR</glossary> movie.</p><p/><p><b>Value:</b></p><p>The <b>constraints</b> is a list consisting of three lines:</p><p/><p>        * The minimum and maximum <b>pan</b>, separated by commas.</p><p>        * The minimum and maximum <b>tilt</b>, separated by commas.</p><p>        * The minimum and maximum <b>zoom</b>, separated by commas.</p><p/><p>Each value is a number.</p><p/><p>This property is read-only and cannot be set.</p><p/><p><b>Comments:</b></p><p>The user can move the view of a QuickTime VR movie using the navigational controls in the player; a handler can change the view by setting the player's <b>pan</b> and <b>tilt</b> <property tag="properties">properties</property>, and change the view angle by changing the <property tag="zoom">zoom</property> <glossary tag="property">property</glossary>.</p><p/><p>The <b>zoom</b>, <b>pan</b>, and <b>tilt</b> are limited by the <function tag="value">value</function> of the <glossary tag="player">player's</glossary> <property tag="constraints">constraints</property> <glossary tag="property">property</glossary>. If you specify a <function tag="value">value</function> greater than the <glossary tag="range">range</glossary> permitted by the <property tag="constraints">constraints</property>, the <glossary tag="property">property</glossary> is set to the highest permitted <function tag="value">value</function>. If you specify a <function tag="value">value</function> less than the <glossary tag="range">range</glossary> permitted by the <property tag="constraints">constraints</property>, the <glossary tag="property">property</glossary> is set to the lowest permitted <function tag="value">value</function>.</p><p/><p>If the player does not contain a QuickTime VR movie, its <b>constraints</b> <glossary tag="property">property</glossary> is empty.</p>
  </description>
</doc>