User Tools

Site Tools


panoramic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

panoramic [2015/09/18 16:20] (current)
glass created
Line 1: Line 1:
 +====== Panoramic ======
  
 +The Panoramic provides a touch-enabled,​ 3-Dimensional panorama using the Away3D 4 library.
 +
 +{| style="​float:​right;​margin:​0 0 30px 20px;"
 +|+ A panoramic element showing a panorama of ruins.
 +|-
 +|{{:​oepanoramic.jpg?​nolink&​400|Panoramic screenshot}}
 +|}
 +
 +{| class="​wikitable"​
 +!
 +Characteristic
 +!
 +Definition
 +|-
 +| Type || Interactive Display Object
 +|-
 +| Category || Element
 +|-
 +| Scope || Local
 +|-
 +| Position || *
 +|-
 +| Parents || Container
 +|-
 +| Children || Images
 +|-
 +| Gestures || Drag,Scale
 +|-
 +| Requirements || none
 +|}
 +
 +
 +{| class="​wikitable"​
 +!
 +Attribute
 +!
 +Type
 +!
 +Description
 +|-
 +| cubeFace || true/false || sets the projection geometry
 +|-
 +| fovMax || number || sets maximum spread of the field of view
 +|-
 +| fovMin || number || sets the minimum spread of the field of view
 +|-
 +| projectionType || text || sets the projection geometry
 +|}
 +
 +See Also: [[Display Attributes]]
 +
 +<​code:​csharp linenums:​1>​
 +<​Panoramic projectionType="​cube"​ cubeFace="​true"​ x="​500"​ y="​100"​ width="​720"​ height="​405"​ fovMin="​30"​ mouseChildren="​true">​
 +
 +    <Image width="​1024"​ src="​panoramic/​30kabah_r.jpg"/>​
 +    <Image width="​1024"​ src="​panoramic/​30kabah_l.jpg"/>​
 +    <Image width="​1024"​ src="​panoramic/​30kabah_u.jpg"/>​
 +    <Image width="​1024"​ src="​panoramic/​30kabah_d.jpg"/>​
 +    <Image width="​1024"​ src="​panoramic/​30kabah_f.jpg"/>​
 +    <Image width="​1024"​ src="​panoramic/​30kabah_b.jpg"/>​
 +
 +    <​TouchContainer nestedTransform="​false"​ gestureEvents="​true"​ mouseChildren="​false"​ disableNativeTransform="​true"​ disableAffineTransform="​true">​
 +        <​GestureList>​
 +            <Gesture ref="​n-drag"​ gestureOn="​true"/>​
 +     <Gesture ref="​n-scale"​ gestureOn="​true"/>​
 +        </​GestureList>​
 +    </​TouchContainer>​
 +</​Panoramic>​
 +</​code>​
panoramic.txt · Last modified: 2015/09/18 16:20 by glass