Information about an Asset, including commerce information
More...
|
ApiJob | Load (AvatarItem avatarItem=null, int parentJobId=Job.kNoParentJobId) |
| Handles the apporpriate loading technique for an asset regardless of what it is. NOTE: it's more efficient to include the avatar item you want to attach the item to if you have one This is just for your convenience if you just want the basic attachment functionality More...
|
|
|
string | asset_guid |
| Astra Guid for the asset
|
|
string | asset_name |
| Friendly name for the asset
|
|
AstraPrimitiveType | asset_type |
| Type of the asset's primitive data - internal value
|
|
SchematicType | schematic_type |
| Type of the asset, for use with Astra SDK functionality
|
|
ASSET_LOCALITY | asset_status |
| Current location of the asset
|
|
int | asset_price_cents |
| Cost in cents of the asset (US currency)
|
|
byte[] | thumbnail_bytes |
| Thumbnail for the asset, in raw bytes Note not all assets have a thumbnail, but most should
|
|
List< string > | regions |
| Regions this asset is part of
|
|
List< string > | compatibleRigs |
| List of Rig Astra Guids that this asset is compatible with
|
|
List< string > | compatibleFigures |
| List of Figure Astra Guids that this asset is compatible with
|
|
List< string > | compatibleMeshes |
| List of Mesh Astra Guids that this asset is compatible with
|
|
List< string > | tags = null |
| List of tags assigned to this asset
|
|
bool | debug = false |
| Set true if you want additional debug info in the logs
|
|
|
List< string > | compatibilities [get] |
| Helper method to retrieve all compatible items (figures, meshes, and rigs)
|
|
Texture2D | thumbnail [get] |
| The thumbnail as a Texture
|
|
Texture2D | thumbnail64 [get] |
| The thumbnail as a max 64x64 texture
|
|
Information about an Asset, including commerce information
◆ Load()
ApiJob Astra.Asset.AssetInfo.Load |
( |
AvatarItem |
avatarItem = null , |
|
|
int |
parentJobId = Job.kNoParentJobId |
|
) |
| |
|
inline |
Handles the apporpriate loading technique for an asset regardless of what it is. NOTE: it's more efficient to include the avatar item you want to attach the item to if you have one This is just for your convenience if you just want the basic attachment functionality
- Parameters
-
avatarItem | Most assets you want to auto-attach to an avatar, if so provide one in the argument list |
parentJobId | Id of the parent job, if it applies. Optional. |
The documentation for this class was generated from the following file:
- Assets/Astra/Asset/AssetInfo.cs