Component:AssetMetadata: Difference between revisions

From Resonite Wiki
Automated: update Categories, SyncDelegates
Automated: update Replace
Line 42: 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:ComponentStubs]]
[[Category:Components With Nested Types{{#translation:}}|Asset Metadata]]
[[Category:Components With Nested Types{{#translation:}}|Asset Metadata]]

Revision as of 21:05, 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