Component:Perspective360Panner: Difference between revisions

From Resonite Wiki
imported>Mysticporo
Created page with "<languages></languages> <translate> <!--T:1--> {{stub}} {{Infobox Component |Image=Perspective360PannerComponent.png |Name=Perspective360 Panner }} <!--T:2--> == Fields == {{..."
 
This is no longer a stub. added a description, added field descriptions, added a usage description.
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=Perspective360PannerComponent.png
|Image=Perspective360PannerComponent.png
|Name=Perspective360 Panner
|Name=Perspective360 Panner
}}
}}
The '''Perspective360Panner''' component allows for moving or panning across 360 degrees around a view, given the parameters of how this panning should work. This is mostly seen in the [[Component:WorldListFacetPreset|WorldListFacetPreset]] component, where each listed item has this component to allow looking around in the [[World|world]] preview thumbnails.


<!--T:2-->
<!--T:2-->
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|IdleFOV|Float|
|IdleFOV|Float| The field of view used when not looking around.
|HoverFOV|Float|
|HoverFOV|Float| The field of view used when looking around.
|FOVSpeed|Float|
|FOVSpeed|Float| The field of view speed.
|HorizontalPanningAcceleration|Float|
|HorizontalPanningAcceleration|Float| How fast to pick up speed.
|HorizontalPanningSpeed|Float|
|HorizontalPanningSpeed|Float| The horizontal panning speed.
|VerticalPanningSpeed|Float|
|VerticalPanningSpeed|Float| The vertical panning speed.
|VerticalRange|Float|
|VerticalRange|Float| The vertical range of this field of view.
|AngleOffset|Float2|
|AngleOffset|Float2| The field of view angle offset.
|FOV|Float2|
|FOV|Float2| The 2D field of view.
}}
}}


<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
Useful as a way of looking around any 360 type of image.


<!--T:4-->
<!--T:4-->
Line 31: Line 33:
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Perspective360 Panner]]
[[Category:Components{{#translation:}}|Perspective360 Panner]]
[[Category:Components:Common UI:Drivers{{#translation:}}|Perspective360 Panner]]
[[Category:Components:Common UI:Drivers{{#translation:}}|Perspective360 Panner]]

Latest revision as of 22:17, 12 September 2024

Component image 
Perspective360 Panner component as seen in the Scene Inspector


The Perspective360Panner component allows for moving or panning across 360 degrees around a view, given the parameters of how this panning should work. This is mostly seen in the WorldListFacetPreset component, where each listed item has this component to allow looking around in the world preview thumbnails.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
IdleFOV Float The field of view used when not looking around.
HoverFOV Float The field of view used when looking around.
FOVSpeed Float The field of view speed.
HorizontalPanningAcceleration Float How fast to pick up speed.
HorizontalPanningSpeed Float The horizontal panning speed.
VerticalPanningSpeed Float The vertical panning speed.
VerticalRange Float The vertical range of this field of view.
AngleOffset Float2 The field of view angle offset.
FOV Float2 The 2D field of view.

Usage

Useful as a way of looking around any 360 type of image.

Examples

Related Components