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. Some components stop their functionality when this field is disabled, but some don't.
|
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
|
The Position the Asset was generated in global space.
|
TakenGlobalRotation
|
FloatQ
|
The rotation the Asset was generated in global space.
|
TakenGlobalScale
|
Float3
|
The scale of the point this Asset was generated in global space.
|
AppVersion
|
String
|
The Version of the game the photo was taken in.
|
UserInfos
|
list of UserInfo
|
A list of users present in the session when the photo was taken.
|
__legacyPresentUsers
|
list of UserRef
|
A list of users present in the session when the photo was taken. This is internal legacy data.
|
Sync Delegates
Lua error in mw.text.lua at line 25: bad argument #1 to 'match' (string expected, got nil).
Triggers
Method Name
|
Method type and Arguments.
|
Is the method hidden?
|
Description
|
UserInfo
Fields
Name
|
Type
|
Description
|
User
|
direct UserRef
|
The user that this info entry refers to.
|
IsInVR
|
Bool
|
Whether the user was in VR when this Asset was made.
|
IsPresent
|
Bool
|
Whether the user was present when this Asset was made.
|
HeadPosition
|
Float3
|
the user's global head position when this Asset was made.
|
HeadOrientation
|
FloatQ
|
The user's global head rotation when this Asset was made.
|
SessionJoinTimestamp
|
DateTime
|
when the user joined the session that this Asset was made in.
|
Usage
This component is used as a base component for other components like PhotoMetadata
Examples