Component:AssetMetadata: Difference between revisions

From Resonite Wiki
No edit summary
add more info
Line 1: Line 1:
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=AssetMetadataComponent.png
|Image=AssetMetadataComponent.png
Line 9: Line 8:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|LocationName|String| {{stub}}
|LocationName|String| Name of the world the photo was taken in.
|LocationURL|Uri| {{stub}}
|LocationURL|Uri| The url of the world the photo was taken in.
|User|User| {{stub}}
|User|User| The host user of the session the photo was taken in.
|_machineId|String| {{stub}}
|_machineId|String| The [[Machine ID]] of the host user of the session the photo was taken in.
|_userId|String| {{stub}}
|_userId|String| The [[User ID]] of the host user of the session the photo was taken in.
|LocationAccessLevel|Nullable`1|TypeString3=<p style="font-size:10px;">Nullable<SessionAccessLevel></p>| {{stub}}
|LocationAccessLevel|Nullable`1|TypeString3=<p style="font-size:10px;">Nullable<SessionAccessLevel></p>| The access level of the world the photo was taken in.
|LocationHiddenFromListing|Nullable`1|TypeString4=Bool?| {{stub}}
|LocationHiddenFromListing|Nullable`1|TypeString4=Bool?| whether the photo was taken in a hidden world or not.
|TimeTaken|DateTime| {{stub}}
|TimeTaken|DateTime| The time the photo was taken.
|User|User| {{stub}}
|User|User| the user who took the photo.
|_machineId|String| {{stub}}
|_machineId|String| The [[Machine ID]] of the user who took the photo.
|_userId|String| {{stub}}
|_userId|String| The [[User ID]] of the user who took the photo.
|AppVersion|String| {{stub}}
|AppVersion|String| The [[Category:Versions|Version]] of the game the photo was taken in.
|PresentUsers|SyncList`1|TypeString8=SyncList<UserRef>| {{stub}}
|PresentUsers|SyncList`1|TypeString8=SyncList<UserRef>| A list of users present in the session when the photo was taken.
}}
}}


Line 32: Line 31:


== Examples ==
== Examples ==
{{stub}}
 
[[File:Component_AssetMetadata_Example_1.webp|480px]]


<!--T:5-->
<!--T:5-->

Revision as of 03:24, 14 February 2024

Component image 
Asset Metadata component as seen in the Scene Inspector


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.
LocationName String Name of the world the photo was taken in.
LocationURL Uri The url of the world the photo was taken in.
User User The host user of the session the photo was taken in.
_machineId

Nullable<SessionAccessLevel>

The Machine ID of the host user of the session the photo was taken in.
_userId Bool? The User ID of the host user of the session the photo was taken in.
LocationAccessLevel Nullable`1 The access level of the world the photo was taken in.
LocationHiddenFromListing Nullable`1 whether the photo was taken in a hidden world or not.
TimeTaken DateTime The time the photo was taken.
User SyncList<UserRef> the user who took the photo.
_machineId String The Machine ID of the user who took the photo.
_userId String The User ID of the user who took the photo.
AppVersion String The of the game the photo was taken in.
PresentUsers SyncList`1 A list of users present in the session when the photo was taken.


Usage

Used to hold metadata about a given photo. It's auto generated every time a photo is taken in Resonite.

Examples