Component:ImageImportDialog: Difference between revisions

From Resonite Wiki
add info
Automated: update SyncDelegates
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
|_screenshot|Bool| whether to import the image as a screenshot.
|_screenshot|Bool| whether to import the image as a screenshot.
|_pointFiltering|Bool| Whether to import the image as pixel art or not.
|_pointFiltering|Bool| Whether to import the image as pixel art or not.
|_lut|Bool| Whether this image is a [[Component:StaticTexture3D|Look Up Table]]  
|_uncompressed|Bool|
|_alphaBleed|Bool|
|_lut|Bool| Whether this image is a [[Component:StaticTexture3D|Look Up Table]]
}}
 
== Sync Delegates ==
{{Table ComponentTriggers
|OpenRoot:[[Type:Action`1|Action`1]]<[[Type:UIBuilder|UIBuilder]]>|[[Type:Action`1|Action`1]]<[[Type:UIBuilder|UIBuilder]]>|true|
|Preset_Image:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|Preset_Screenshot:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|Preset_PixelArt:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|Preset_Sprite:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|Preset_360:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|Preset_StereoImage:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|Preset_Stereo360:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|Preset_180:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|Preset_Stereo180:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|Preset_LUT:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|MenuStereoLayout:[[Type:Action`1|Action`1]]<[[Type:UIBuilder|UIBuilder]]>|[[Type:Action`1|Action`1]]<[[Type:UIBuilder|UIBuilder]]>|true|
|Preset_HorizontalLR:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|Preset_HorizontalRL:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|Preset_VerticalLR:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|Preset_VerticalRL:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|AsRawFile:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|Return:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
}}
}}



Latest revision as of 06:31, 17 March 2025

Component image 
Image Import Dialog component as seen in the Scene Inspector

See Image Import.

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.
_projection ImageProjection What image projection to import the image as.
_layout StereoLayout The image stereo layout for left and right to use.
_screenshot Bool whether to import the image as a screenshot.
_pointFiltering Bool Whether to import the image as pixel art or not.
_uncompressed Bool
_alphaBleed Bool
_lut Bool Whether this image is a Look Up Table

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
OpenRoot:Action`1<UIBuilder> Action`1<UIBuilder>
Preset_Image:ButtonEventHandler ButtonEventHandler
Preset_Screenshot:ButtonEventHandler ButtonEventHandler
Preset_PixelArt:ButtonEventHandler ButtonEventHandler
Preset_Sprite:ButtonEventHandler ButtonEventHandler
Preset_360:ButtonEventHandler ButtonEventHandler
Preset_StereoImage:ButtonEventHandler ButtonEventHandler
Preset_Stereo360:ButtonEventHandler ButtonEventHandler
Preset_180:ButtonEventHandler ButtonEventHandler
Preset_Stereo180:ButtonEventHandler ButtonEventHandler
Preset_LUT:ButtonEventHandler ButtonEventHandler
MenuStereoLayout:Action`1<UIBuilder> Action`1<UIBuilder>
Preset_HorizontalLR:ButtonEventHandler ButtonEventHandler
Preset_HorizontalRL:ButtonEventHandler ButtonEventHandler
Preset_VerticalLR:ButtonEventHandler ButtonEventHandler
Preset_VerticalRL:ButtonEventHandler ButtonEventHandler
AsRawFile:ButtonEventHandler ButtonEventHandler
Return:ButtonEventHandler ButtonEventHandler

Usage

See Image Import.

Examples

See Image Import.

See Also