OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
OpenSim.Region.Framework.Interfaces.IAvatarFactoryModule Interface Reference
Inheritance diagram for OpenSim.Region.Framework.Interfaces.IAvatarFactoryModule:
Inheritance graph
[legend]

Public Member Functions

void SetAppearance (IScenePresence sp, AvatarAppearance appearance, WearableCacheItem[] cacheItems)
 
void SetAppearance (IScenePresence sp, Primitive.TextureEntry textureEntry, byte[] visualParams, WearableCacheItem[] cacheItems)
 
bool SendAppearance (UUID agentId)
 Send the appearance of an avatar to others in the scene. More...
 
Dictionary< BakeType,
Primitive.TextureEntryFace > 
GetBakedTextureFaces (UUID agentId)
 Return the baked texture ids of the given agent. More...
 
WearableCacheItem[] GetCachedItems (UUID agentId)
 
bool SaveBakedTextures (UUID agentId)
 Save the baked textures for the given agent permanently in the asset database. More...
 
bool ValidateBakedTextureCache (IScenePresence sp)
 Validate that OpenSim can find the baked textures need to display a given avatar More...
 
int RequestRebake (IScenePresence sp, bool missingTexturesOnly)
 Request a rebake of textures for an avatar. More...
 
void QueueAppearanceSend (UUID agentid)
 
void QueueAppearanceSave (UUID agentid)
 
void WriteBakedTexturesReport (IScenePresence sp, ReportOutputAction reportOutputAction)
 Get a report about the current state of a scene presence's baked appearance textures. More...
 

Detailed Description

Definition at line 36 of file IAvatarFactoryModule.cs.

Member Function Documentation

Dictionary<BakeType, Primitive.TextureEntryFace> OpenSim.Region.Framework.Interfaces.IAvatarFactoryModule.GetBakedTextureFaces ( UUID  agentId)

Return the baked texture ids of the given agent.

Parameters
agentId
Returns
An empty list if this agent has no baked textures (e.g. because it's a child agent)

Implemented in OpenSim.Region.CoreModules.Avatar.AvatarFactory.AvatarFactoryModule.

WearableCacheItem [] OpenSim.Region.Framework.Interfaces.IAvatarFactoryModule.GetCachedItems ( UUID  agentId)
void OpenSim.Region.Framework.Interfaces.IAvatarFactoryModule.QueueAppearanceSave ( UUID  agentid)
void OpenSim.Region.Framework.Interfaces.IAvatarFactoryModule.QueueAppearanceSend ( UUID  agentid)
int OpenSim.Region.Framework.Interfaces.IAvatarFactoryModule.RequestRebake ( IScenePresence  sp,
bool  missingTexturesOnly 
)

Request a rebake of textures for an avatar.

This will send the request to the viewer, since it's there that the rebake is done.

Parameters
spAvatar to rebake.
missingTexturesOnlyIf true, only request a rebake for the textures that are missing. If false then we request a rebake of all textures for which we already have references.
Returns
Number of rebake requests made. This will depend upon whether we've previously received texture IDs.

Implemented in OpenSim.Region.CoreModules.Avatar.AvatarFactory.AvatarFactoryModule.

bool OpenSim.Region.Framework.Interfaces.IAvatarFactoryModule.SaveBakedTextures ( UUID  agentId)

Save the baked textures for the given agent permanently in the asset database.

This is used to preserve apperance textures for NPCs

Parameters
agentId
Returns
true if a valid agent was found, false otherwise

Implemented in OpenSim.Region.CoreModules.Avatar.AvatarFactory.AvatarFactoryModule.

bool OpenSim.Region.Framework.Interfaces.IAvatarFactoryModule.SendAppearance ( UUID  agentId)

Send the appearance of an avatar to others in the scene.

Parameters
agentId
Returns

Implemented in OpenSim.Region.CoreModules.Avatar.AvatarFactory.AvatarFactoryModule.

void OpenSim.Region.Framework.Interfaces.IAvatarFactoryModule.SetAppearance ( IScenePresence  sp,
AvatarAppearance  appearance,
WearableCacheItem[]  cacheItems 
)
void OpenSim.Region.Framework.Interfaces.IAvatarFactoryModule.SetAppearance ( IScenePresence  sp,
Primitive.TextureEntry  textureEntry,
byte[]  visualParams,
WearableCacheItem[]  cacheItems 
)
bool OpenSim.Region.Framework.Interfaces.IAvatarFactoryModule.ValidateBakedTextureCache ( IScenePresence  sp)

Validate that OpenSim can find the baked textures need to display a given avatar

Parameters
client
checkonly
Returns
true if all the baked textures referenced by the texture IDs exist or the appearance is only using default textures. false otherwise.

Implemented in OpenSim.Region.CoreModules.Avatar.AvatarFactory.AvatarFactoryModule.

void OpenSim.Region.Framework.Interfaces.IAvatarFactoryModule.WriteBakedTexturesReport ( IScenePresence  sp,
ReportOutputAction  reportOutputAction 
)

Get a report about the current state of a scene presence's baked appearance textures.

Parameters
sp
reportOutputAction
Returns

Implemented in OpenSim.Region.CoreModules.Avatar.AvatarFactory.AvatarFactoryModule.


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