Component:AssetMetadata: Difference between revisions

From Resonite Wiki
display link instead of putting in category
Automated: update Categories, SyncDelegates
Line 21: Line 21:
|UserInfos|{{RootFieldType|SyncList`1|[[#UserInfo|UserInfo]]}}|TypeAdv11=true|
|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.
|__legacyPresentUsers|{{RootFieldType|SyncList`1|[[Type:UserRef|UserRef]]}}|TypeAdv12=true| A list of users present in the session when the photo was taken.
}}
== Sync Delegates ==
{{Table ComponentTriggers
|SetFromCurrentWorld()|[[Type:Action|Action]]|
}}
}}


Line 37: Line 42:
[[Category:Components:Uncategorized{{#translation:}}|Asset Metadata]]
[[Category:Components:Uncategorized{{#translation:}}|Asset Metadata]]
[[Category:Components{{#translation:}}|Asset Metadata]]
[[Category:Components{{#translation:}}|Asset Metadata]]
[[Category:ComponentStub]]
[[Category:Components With Nested Types{{#translation:}}|Asset Metadata]]
[[Category:Components With Nested Types{{#translation:}}|Asset Metadata]]

Revision as of 13:11, 6 November 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 The host user of the session the photo was taken in.
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 the user who took the photo.
TakenGlobalPosition Float3
TakenGlobalRotation FloatQ
TakenGlobalScale Float3
AppVersion String The Version 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.

Sync Delegates

Triggers
Method Name Method type and Arguments. Description
SetFromCurrentWorld() Action


Usage

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

Examples