Astra Unity 2.6.6
Astra Unity Plugin
Astra.Asset.TextureItem Class Reference

Wraps a Unity Texture that is attached to an item More...

Inheritance diagram for Astra.Asset.TextureItem:

Public Attributes

string Location
 Human readable URI of where the texture is stored
 
string Channel
 Texture channel, useful for masks and the like
 
Texture2D ItemTexture
 Unity Texture2D for this item
 

Properties

byte[] RawData [get]
 The bytes for this texture
 
int Width [get]
 The width of this texture
 
int Height [get]
 The height of this texture
 
bool Mipmap [get]
 Whether this texture is using mipmaps
 
TextureFormat Format [get]
 The format of this texture
 
- Properties inherited from Astra.Asset.ItemBase
virtual McsSdk20.Primitives.AstraPrimitiveType PrimitiveType [get]
 Retrieve the primitive type for this item
 
virtual McsSdk20.Primitives.SchematicType SchematicType [get]
 Retrieve the schematic type for this item
 
string AstraGuid [getset]
 Guid for this item to identify it in the Astra Service
 
string AstraName [getset]
 Display name for this item
 
string AstraInstanceId [getset]
 Guid representing an instance of this item
 
- Properties inherited from Astra.Asset.IAstraBaseInterface
string AstraGuid [getset]
 
string AstraName [getset]
 
string AstraInstanceId [getset]
 

Additional Inherited Members

- Public Member Functions inherited from Astra.Asset.ItemBase
virtual CompoundItem FindParentCompound ()
 Find the parent CompoundItem which this Item is attached to, if it exists, otherwise null
 
virtual AvatarItem FindAvatarItem ()
 Returns the AvatarItem this item is attached to (if found, note may return null)
 
virtual RigItem FindRigItem ()
 Finds the current RigItem associated on this Avatar Hierarchy More...
 
- Protected Member Functions inherited from Astra.Asset.ItemBase
void TrackId (string id)
 
void UntrackIds ()
 
- Protected Attributes inherited from Astra.Asset.ItemBase
List< string > _trackingIds = null
 

Detailed Description

Wraps a Unity Texture that is attached to an item


The documentation for this class was generated from the following file: