Component:Perspective360Panner

From Resonite Wiki
Revision as of 22:17, 12 September 2024 by AmasterAmaster (talk | contribs) (This is no longer a stub. added a description, added field descriptions, added a usage description.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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