Component:VideoImportDialog

From Resonite Wiki
Component image 
Video Import Dialog component as seen in the Scene Inspector

The VideoImportDialog component is better explained in the Importing page.

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. Some components stop their functionality when this field is disabled, but some don't.
path list of Action`1<UIBuilder> A list of sync delegates used to generate the UI when at particular paths in the importer.
_contentRoot Slot The slot to put ui elements for import options in.
_videoType VideoImportDialog.VideoType The type of video being imported.
_stereoLayout StereoLayout The kind of video stereo layout the video being imported has.
_depthPreset VideoImportDialog.DepthPreset The kind of depth the video being imported has.

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
OpenRoot:Action`1<UIBuilder> Action`1<UIBuilder> Handles when the dialog is opened to the root menu.
Preset_Video:ButtonEventHandler ButtonEventHandler Imports default video.
Preset_360:ButtonEventHandler ButtonEventHandler Imports as a 360 video.
Preset_StereoVideo:ButtonEventHandler ButtonEventHandler Imports as a default stereo video.
Preset_Stereo360:ButtonEventHandler ButtonEventHandler Imports as a stereo 360 video.
Preset_Depth:ButtonEventHandler ButtonEventHandler Imports as a depth video.
Preset_180:ButtonEventHandler ButtonEventHandler Imports as a 180 video.
Preset_Stereo180:ButtonEventHandler ButtonEventHandler Imports as a stereo 180 video.
MenuStereoLayout:Action`1<UIBuilder> Action`1<UIBuilder> Switches the menu to show the stereo options.
Preset_HorizontalLR:ButtonEventHandler ButtonEventHandler Imports the video as a stereo horizontal Left Right layout.
Preset_HorizontalRL:ButtonEventHandler ButtonEventHandler Imports the video as a stereo horizontal Right Left layout.
Preset_VerticalLR:ButtonEventHandler ButtonEventHandler Imports the video as a stereo vertical Left Right layout.
Preset_VerticalRL:ButtonEventHandler ButtonEventHandler Imports the video as a stereo vertical Right Left layout.
MenuDepthPreset:Action`1<UIBuilder> Action`1<UIBuilder> Switches the menu to show the depth options.
Preset_DepthDefault:ButtonEventHandler ButtonEventHandler Uses the default depth option.
Preset_DepthPFCapture:ButtonEventHandler ButtonEventHandler Uses the PF capture vertical depth option.
Preset_DepthPFCaptureHorizontal:ButtonEventHandler ButtonEventHandler Uses the PF capture horizontal depth option.
Preset_DepthHolofix:ButtonEventHandler ButtonEventHandler Uses the holofix depth option.
AsRawFile:ButtonEventHandler ButtonEventHandler Imports the video as a raw file.
Return:ButtonEventHandler ButtonEventHandler Navigates the menu to the previous menu.

VideoType

Values
Name Value Description
Regular 0 Normal video
Sphere360 1 Video is recorded in a 360 equilateral rectangle.
Sphere180 2 Video is recorded in a 180 equilateral rectangle.
Depth 3 The video is recorded with depth data.

DepthPreset

Values
Name Value Description
Default 0 Uses no depth data.
PFCaptureVertical 1 Says depth is captured vertically where the depth data is below the color data.
PFCaptureHorizontal 2 Says depth is captured horizontally where the depth data is to the left of the color data.
Holofix 3 Depth is Holofixed.

Usage

See Importing.

Examples

See Importing.

See Also