OpenMetaverse Protocol Library Developers API Documentation
AppearanceManager Class
NamespacesOpenMetaverseAppearanceManager
Declaration Syntax
C#
public 
class 
AppearanceManager
Members
All Members Constructors Methods Properties Fields Events



Icon Member Description
AppearanceManager(GridClient)
Default constructor

AddAttachments(List < (Of < <' ( InventoryItem > ) > > ) , Boolean)
Adds a list of attachments to our agent

AddAttachments(List < (Of < <' ( InventoryItem > ) > > ) , Boolean, Boolean)
Adds a list of attachments to our agent

AddToOutfit(InventoryItem)
Add a wearable to the current outfit and set appearance

AddToOutfit(InventoryItem, Boolean)
Add a wearable to the current outfit and set appearance

AddToOutfit(List < (Of < <' ( InventoryItem > ) > > ) )
Add a list of wearables to the current outfit and set appearance

AddToOutfit(List < (Of < <' ( InventoryItem > ) > > ) , Boolean)
Add a list of wearables to the current outfit and set appearance

AgentWearablesReply
Triggered when an AgentWearablesUpdate packet is received, telling us what our avatar is currently wearing RequestAgentWearables () () () () request.

AppearanceSet
Raised when appearance data is sent to the simulator, also indicates the main appearance thread is finished.

Attach(InventoryItem, AttachmentPoint)
Attach an item to our agent at a specific attach point

Attach(InventoryItem, AttachmentPoint, Boolean)
Attach an item to our agent at a specific attach point

Attach(UUID, UUID, String, String, Permissions, UInt32, AttachmentPoint)
Attach an item to our agent specifying attachment details

Attach(UUID, UUID, String, String, Permissions, UInt32, AttachmentPoint, Boolean)
Attach an item to our agent specifying attachment details

ATTACHMENT_ADD
Mask for multiple attachments

BAKED_TEXTURE_COUNT
Total number of baked textures on each avatar

BAKED_TEXTURE_HASH
Magic values to finalize the cache check hashes for each bake

BakeIndexToTextureIndex
Mapping between BakeType and AvatarTextureIndex

BakeTypeToAgentTextureIndex(BakeType)
Converts a BakeType to the corresponding baked texture slot in AvatarTextureIndex

BakeTypeToTextures(BakeType)
Converts a BakeType to a list of the texture slots that make up that bake

CachedBakesReply
Raised when an AgentCachedTextureResponse packet is received, giving a list of cached bakes that were found on the simulator request.

DecodeWearableParams(AppearanceManager . . :: . . WearableData, array< AppearanceManager . . :: . . TextureData > [] () [] [] % )
Populates textures and visual params from a decoded asset
Populates textures and visual params from a decoded asset

DEFAULT_AVATAR_TEXTURE
Default avatar texture, used to detect when a custom texture is not set for a face

Detach(InventoryItem)
Detach an item from our agent using an object

Detach(UUID)
Detach an item from our agent

GetColorFromParams(List < (Of < <' ( AppearanceManager . . :: . . ColorParamInfo > ) > > ) )
Calculates base color/tint for a specific wearable based on its params

GetWearableAsset(WearableType)
Returns the AssetID of the asset that is currently being worn in a given WearableType slot

GetWearables () () () ()
Returns a copy of the agents currently worn wearables

IsItemWorn(InventoryItem)
Checks if an inventory item is currently being worn

MakeAppearancePacket () () () ()
ManagerBusy
Returns true if AppearanceManager is busy and trying to set or change appearance will fail

MorphLayerForBakeType(BakeType)
Gives the layer number that is used for morph mask

MyTextures
Textures about this client sent to the sim

MyVisualParameters
Visual parameters last sent to the sim

RebakeAvatarRequested
Triggered when the simulator requests the agent rebake its appearance.

RemoveFromOutfit(InventoryItem)
Remove a wearable from the current outfit and set appearance

RemoveFromOutfit(List < (Of < <' ( InventoryItem > ) > > ) )
Removes a list of wearables from the current outfit and set appearance

ReplaceOutfit(List < (Of < <' ( InventoryItem > ) > > ) )
Replace the current outfit with a list of wearables and set appearance

ReplaceOutfit(List < (Of < <' ( InventoryItem > ) > > ) , Boolean)
Replace the current outfit with a list of wearables and set appearance

RequestAgentWearables () () () ()
Ask the server what textures our agent is currently wearing

RequestCachedBakes () () () ()
Build hashes out of the texture assetIDs for each baking layer to ask the simulator whether it has cached copies of each baked texture

RequestSetAppearance () () () ()
Starts the appearance setting thread

RequestSetAppearance(Boolean)
Starts the appearance setting thread

ServerBakingRegion () () () ()
Check if current region supports server side baking

SetPreviousAppearance () () () () Obsolete.
Obsolete method for setting appearance. This function no longer does anything. Use RequestSetAppearance() to manually start the appearance thread

SetPreviousAppearance(Boolean) Obsolete.
Obsolete method for setting appearance. This function no longer does anything. Use RequestSetAppearance() to manually start the appearance thread

WEARABLE_BAKE_MAP
Map of what wearables are included in each bake

WEARABLE_COUNT
Total number of wearables for each avatar

WEARABLES_PER_LAYER
Total number of wearables per bake layer

WearableTypeToAssetType(WearableType)
Converts a WearableType to a bodypart or clothing WearableType

WearOutfit(List < (Of < <' ( InventoryBase > ) > > ) , Boolean)
Calls either or depending on the value of replaceItems

Inheritance Hierarchy
Object
AppearanceManager

Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)