# AssetInfo Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.Sites.AssetInfo/ AssetInfo Information about an asset, and the areas it is split into. --- ## Declaration public readonly struct AssetInfo : ValueType --- ## Constructors ### Constructor public AssetInfo(string id, long assetTimestamp, string siteId, string name, string description, AssetType assetType, AssetStatusType assetStatus, AssetDeploymentType deployment, Nullable meshData, Nullable splatData, Nullable vpsData, string pipelineJobId, AssetPipelineJobStatus pipelineJobStatus, IReadOnlyList sourceScanIds) ### Parameters | Name | Type | Summary | | --- | --- | --- | | id | string | - | | assetTimestamp | long | - | | siteId | string | - | | name | string | - | | description | string | - | | assetType | AssetType | - | | assetStatus | AssetStatusType | - | | deployment | AssetDeploymentType | - | | meshData | Nullable | - | | splatData | Nullable | - | | vpsData | Nullable | - | | pipelineJobId | string | - | | pipelineJobStatus | AssetPipelineJobStatus | - | | sourceScanIds | IReadOnlyList | - | --- ### Overload public AssetInfo(string id, long assetTimestamp, string siteId, string name, string description, AssetType assetType, AssetStatusType assetStatus, AssetDeploymentType deployment, Nullable meshData, Nullable splatData, Nullable vpsData, string pipelineJobId, AssetPipelineJobStatus pipelineJobStatus, IReadOnlyList sourceScanIds, IReadOnlyList areas) ### Parameters | Name | Type | Summary | | --- | --- | --- | | id | string | - | | assetTimestamp | long | - | | siteId | string | - | | name | string | - | | description | string | - | | assetType | AssetType | - | | assetStatus | AssetStatusType | - | | deployment | AssetDeploymentType | - | | meshData | Nullable | - | | splatData | Nullable | - | | vpsData | Nullable | - | | pipelineJobId | string | - | | pipelineJobStatus | AssetPipelineJobStatus | - | | sourceScanIds | IReadOnlyList | - | | areas | IReadOnlyList | - | --- ## Properties | Name | Type | Summary | | --- | --- | --- | | readonly Areas | IReadOnlyList | Every area of this asset. An asset mapped in a single pass has exactly one. Empty while the asset's job has produced no output yet. | | readonly AssetStatus | AssetStatusType | DEPRECATED - always Unspecified. | | readonly AssetTimestamp | long | The Unix timestamp (in seconds) from the asset key, or 0 if unset. | | readonly AssetType | AssetType | The asset type - determines which fields of Areas are meaningful. | | readonly Deployment | AssetDeploymentType | The asset deployment type. | | readonly Description | string | The asset's description, or null if not set. | | readonly Id | string | The unique identifier for the asset. | | readonly MeshData | Nullable | DEPRECATED - read Areas[0] instead. Only non-null when AssetType is Mesh and Areas is non-empty, and it describes that first area only. | | readonly Name | string | The asset's display name. | | readonly PipelineJobId | string | DEPRECATED - always null. The portal has no source for it; retained so existing callers keep compiling. | | readonly PipelineJobStatus | AssetPipelineJobStatus | DEPRECATED - read JobStatus on each entry of Areas. The portal leaves the asset-level status unset, since a job belongs to an area, so expect Unspecified. | | readonly SiteId | string | The site ID this asset belongs to. | | readonly SourceScanIds | IReadOnlyList | DEPRECATED - always empty. The portal has no source for it; retained so existing callers keep compiling. | | readonly SplatData | Nullable | DEPRECATED - read Areas[0] instead. Only non-null when AssetType is Splat and Areas is non-empty. | | readonly VpsData | Nullable | DEPRECATED - read Areas[0] instead. Only non-null when AssetType is VpsInfo and Areas is non-empty. | --- ## Methods | Name | Type | Summary | | --- | --- | --- | | ToString | string | - | ---