Component:SessionCaptureThumbnailSource: Difference between revisions

From Resonite Wiki
Automated: update Categories
oops I typed the wrong thing I was scatterbrained
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
For now see: [[World and Session Thumbnails#Customising Thumbnails]]
{{Infobox Component
|Image=SessionCaptureThumbnailSourceComponent.png
|Name=Session Capture Thumbnail Source
}}


{{Stub}}
The '''SessionCaptureThumbnailSource''' component sets the slot it is on as a source for capturing the [[session thumbnail]], or the preview image used for the currently active session.
 
== Fields ==
 
{{Table ComponentFields
|Overlay|{{RootFieldType|AssetRef`1|[[Type:Texture2D|Texture2D]]}}|TypeAdv0=true|An overlay image to superimpose over the normal session capture. This image must have an average alpha channel value under 25% or else it will not be applied.
}}
 
== Usage ==
 
Place this component on a slot. The slot's position will then be used as the capture source for the [[session thumbnail]]. If multiple slots have this component on it, the capture will be taken via a weighted random pick, where slots with a lower average user distance from them will be more likely to be captured.
 
== See also ==
 
* [[Component:WorldCaptureThumbnailSource]] for capturing the world preview that shows up without an active session.


[[Category:Components{{#translation:}}|Session Capture Thumbnail Source]]
[[Category:Components{{#translation:}}|Session Capture Thumbnail Source]]
[[Category:ComponentStubs]]
[[Category:Components:World{{#translation:}}|Session Capture Thumbnail Source]]
[[Category:Components:World{{#translation:}}|Session Capture Thumbnail Source]]

Latest revision as of 01:39, 14 June 2025

Component image 
File:SessionCaptureThumbnailSourceComponent.png
Session Capture Thumbnail Source component as seen in the Scene Inspector

The SessionCaptureThumbnailSource component sets the slot it is on as a source for capturing the session thumbnail, or the preview image used for the currently active session.

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.
Overlay Texture2D An overlay image to superimpose over the normal session capture. This image must have an average alpha channel value under 25% or else it will not be applied.

Usage

Place this component on a slot. The slot's position will then be used as the capture source for the session thumbnail. If multiple slots have this component on it, the capture will be taken via a weighted random pick, where slots with a lower average user distance from them will be more likely to be captured.

See also