ProtectedconstructorSnap HiddenReadonlyassetsA list of all the available assets this handle contains.
ReadonlyassetSource path of this asset within the asset tree.
Compression strategy applied when this asset is imported; assign an AssetCompressionSettings subclass such as SizeCompressionSettings or DracoCompressionSettings.
ReadonlyidThe unique id of the entity.
ReadonlyisWhether this metadata entry represents the root of a native asset package.
ReadonlyisIndicates whether this item is packed inside a native package.
ReadonlymetaMetadata associated with this entity, providing access to its unique identifier and other descriptive properties.
ReadonlynativeDescriptor identifying the native package associated with this import metadata.
ReadonlynativeRoot AssetImportMetadata entry of the native package containing this item.
ReadonlypackagePackage policy describing whether and how the native package containing this asset can be unpacked.
ReadonlyprimaryThe primary asset of this handle. Usually, this is the asset you will assign after accessing an asset.
ReadonlysourceThe source file where the asset was imported from.
ReadonlytopmostTopmost root AssetImportMetadata in the native package hierarchy.
ReadonlytypeThe entity's type.
A list of entities which this entity has a reference to.
Retrieves a string value from the extra data store by key.
StaticgetReturns metadata about this type.
Returns child AssetImportMetadata entries within the native package, using the specified iteration depth.
A list of entities which has a reference to this entity.
StaticgetReturns the type name of this class.
Returns the name of this object's type.
Returns true if the object is of the specified type.
Returns true if this object refers to the same instance as the given object.
Stores a string value in the extra data store under the given key.
StaticstaticReturns the static metadata descriptor for the AssetImportMetadata type.
A handle for the metadata of an asset.
Example