Component:AssetMetadata: Difference between revisions

From Resonite Wiki
remove from stubs
Automated: update Fields, Categories
Line 10: Line 10:
|LocationName|String| Name of the world the photo was taken in.
|LocationName|String| Name of the world the photo was taken in.
|LocationURL|Uri| The url 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.
|LocationHost|{{RootFieldType|UserRef}}|TypeAdv2=true|
|_machineId|String| The [[Machine ID]] of the host user of the session the photo was taken in.
|LocationAccessLevel|'''[[Type:Nullable`1|Nullable`1]]<[[Type:SessionAccessLevel|SessionAccessLevel]]>'''|TypeAdv3=true| The access level of the world the photo was taken in.
|_userId|String| The [[User ID]] of the host user of the session the photo was taken in.
|LocationHiddenFromListing|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Bool|Bool]]>'''|TypeAdv4=true| whether the photo was taken in a hidden world or not.
|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?| whether the photo was taken in a hidden world or not.
|TimeTaken|DateTime| The time the photo was taken.
|TimeTaken|DateTime| The time the photo was taken.
|User|User| the user who took the photo.
|TakenBy|{{RootFieldType|UserRef}}|TypeAdv6=true|
|_machineId|String| The [[Machine ID]] of the user who took the photo.
|TakenGlobalPosition|Float3|
|_userId|String| The [[User ID]] of the user who took the photo.
|TakenGlobalRotation|FloatQ|
|TakenGlobalScale|Float3|
|AppVersion|String| The [[Category:Versions|Version]] of the game the photo was taken in.
|AppVersion|String| The [[Category:Versions|Version]] of the game the photo was taken in.
|PresentUsers|SyncList`1|TypeString8=SyncList<UserRef>| A list of users present in the session when the photo was taken.
|UserInfos|{{RootFieldType|SyncList`1|[[#UserInfo|UserInfo]]}}|TypeAdv11=true|
|__legacyPresentUsers|{{RootFieldType|SyncList`1|[[Type:UserRef|UserRef]]}}|TypeAdv12=true| A list of users present in the session when the photo was taken.
}}
}}


Line 35: Line 35:


<!--T:5-->
<!--T:5-->
[[Category:Components|Asset Metadata]]
[[Category:Components:Uncategorized{{#translation:}}|Asset Metadata]]
[[Category:Components:Uncategorized|Asset Metadata]]
[[Category:Components{{#translation:}}|Asset Metadata]]
[[Category:Components With Nested Types{{#translation:}}|Asset Metadata]]

Revision as of 22:48, 3 March 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.
LocationHost direct UserRef
LocationAccessLevel Nullable`1<SessionAccessLevel> The access level of the world the photo was taken in.
LocationHiddenFromListing Nullable`1<Bool> whether the photo was taken in a hidden world or not.
TimeTaken DateTime The time the photo was taken.
TakenBy direct UserRef
TakenGlobalPosition Float3
TakenGlobalRotation FloatQ
TakenGlobalScale Float3
AppVersion String The of the game the photo was taken in.
UserInfos list of UserInfo
__legacyPresentUsers list of UserRef 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