Photo metadata is a component that is used to contain the information on a photo usually taken within resonite, but can also be a photo imported with the "import as screenshot" option when importing an image.
The '''PhotoMetadata''' component is used to contain the information on a photo usually taken within Resonite. It is automatically attached to every screenshot taken using the finger photo gesture. This component can also be attached to a photo imported with the "import as screenshot" option when importing an image.
<!--T:2-->
<!--T:2-->
Line 23:
Line 22:
|TakenGlobalScale|Float3| The scale in [[Coordinate spaces|global space]] the camera had when the photo was taken.
|TakenGlobalScale|Float3| The scale in [[Coordinate spaces|global space]] the camera had when the photo was taken.
|AppVersion|String|Resonite version number of the photographer.
|AppVersion|String|Resonite version number of the photographer.
|UserInfos|{{RootFieldType|SyncList`1|[[Type:UserInfo|UserInfo]]}}|TypeAdv11=true| See [[Type:UserInfo|UserInfo]]
|UserInfos|{{RootFieldType|SyncList`1|[[Component:AssetMetadata#UserInfo|AssetMetadata.UserInfo]]}}|TypeAdv11=true| See [[Type:UserInfo|UserInfo]]
|__legacyPresentUsers|{{RootFieldType|SyncList`1|[[Type:UserRef|UserRef]]}}|TypeAdv12=true| Internal. no longer used.
|__legacyPresentUsers|{{RootFieldType|SyncList`1|[[Type:UserRef|UserRef]]}}|TypeAdv12=true| Internal. no longer used.
|CameraManufacturer|String|Manufacturer of the camera.
|CameraManufacturer|String|Manufacturer of the camera.
Line 35:
Line 34:
== Sync Delegates ==
== Sync Delegates ==
{{Table ComponentTriggers
{{Table ComponentTriggers
|SetFromCurrentWorld()|[[Type:Action|Action]]|
|OnSavePhoto:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the save photo button is touched.
|OnExportPhoto:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the export photo button is touched.
The PhotoMetadata component is used to contain the information on a photo usually taken within Resonite. It is automatically attached to every screenshot taken using the finger photo gesture. This component can also be attached to a photo imported with the "import as screenshot" option when importing an image.
This is a list of users that exported the screenshot. If this component is part of a saved item, this is the list of users that exported the screenshot before the item was saved to the cloud.