OpenSim
|
Public Member Functions | |
void | RegisterRender (string handleType, IDynamicTextureRender render) |
void | ReturnData (UUID id, IDynamicTexture texture) |
Used by IDynamicTextureRender implementations to return renders More... | |
UUID | AddDynamicTextureURL (UUID simID, UUID primID, string contentType, string url, string extraParams, int updateTimer) |
UUID | AddDynamicTextureURL (UUID simID, UUID primID, string contentType, string url, string extraParams, int updateTimer, bool SetBlending, byte AlphaValue) |
UUID | AddDynamicTextureURL (UUID simID, UUID primID, string contentType, string url, string extraParams, int updateTimer, bool SetBlending, int disp, byte AlphaValue, int face) |
UUID | AddDynamicTextureData (UUID simID, UUID primID, string contentType, string data, string extraParams, int updateTimer) |
UUID | AddDynamicTextureData (UUID simID, UUID primID, string contentType, string data, string extraParams, int updateTimer, bool SetBlending, byte AlphaValue) |
UUID | AddDynamicTextureData (UUID simID, UUID primID, string contentType, string data, string extraParams, int updateTimer, bool SetBlending, int disp, byte AlphaValue, int face) |
Apply a dynamically generated texture to the given prim. More... | |
void | GetDrawStringSize (string contentType, string text, string fontName, int fontSize, out double xSize, out double ySize) |
Definition at line 35 of file IDynamicTextureManager.cs.
UUID OpenSim.Region.Framework.Interfaces.IDynamicTextureManager.AddDynamicTextureData | ( | UUID | simID, |
UUID | primID, | ||
string | contentType, | ||
string | data, | ||
string | extraParams, | ||
int | updateTimer, | ||
bool | SetBlending, | ||
byte | AlphaValue | ||
) |
Apply a dynamically generated texture to all sides of the given prim. The texture is not persisted to the asset service.
simID | The simulator in which the texture is being generated |
primID | The prim to which to apply the texture. |
contentType | The content type to create. Current choices are "vector" to create a vector based texture or "image" to create a texture from an image at a particular URL |
data | The data for the generator |
extraParams | Parameters for the generator that don't form part of the main data. |
updateTimer | If zero, the image is never updated after the first generation. If positive the image is updated at the given interval. Not implemented for |
SetBlending | If true, the newly generated texture is blended with the appropriate existing ones on the prim |
AlphaValue | The alpha value of the generated texture. |
Implemented in OpenSim.Region.CoreModules.Scripting.DynamicTexture.DynamicTextureModule.
UUID OpenSim.Region.Framework.Interfaces.IDynamicTextureManager.AddDynamicTextureData | ( | UUID | simID, |
UUID | primID, | ||
string | contentType, | ||
string | data, | ||
string | extraParams, | ||
int | updateTimer, | ||
bool | SetBlending, | ||
int | disp, | ||
byte | AlphaValue, | ||
int | face | ||
) |
Apply a dynamically generated texture to the given prim.
simID | The simulator in which the texture is being generated |
primID | The prim to which to apply the texture. |
contentType | The content type to create. Current choices are "vector" to create a vector based texture or "image" to create a texture from an image at a particular URL |
data | The data for the generator |
extraParams | Parameters for the generator that don't form part of the main data. |
updateTimer | If zero, the image is never updated after the first generation. If positive the image is updated at the given interval. Not implemented for |
SetBlending | If true, the newly generated texture is blended with the appropriate existing ones on the prim |
disp | Display flags. If DISP_EXPIRE then the old texture is deleted if it is replaced by a newer generated texture (may not currently be implemented). If DISP_TEMP then the asset is flagged as temporary, which often means that it is not persisted to the database. |
AlphaValue | The alpha value of the generated texture. |
face | The face of the prim on which to put the generated texture. If ALL_SIDES then all sides of the prim are set |
Implemented in OpenSim.Region.CoreModules.Scripting.DynamicTexture.DynamicTextureModule.
void OpenSim.Region.Framework.Interfaces.IDynamicTextureManager.GetDrawStringSize | ( | string | contentType, |
string | text, | ||
string | fontName, | ||
int | fontSize, | ||
out double | xSize, | ||
out double | ySize | ||
) |
void OpenSim.Region.Framework.Interfaces.IDynamicTextureManager.RegisterRender | ( | string | handleType, |
IDynamicTextureRender | render | ||
) |
void OpenSim.Region.Framework.Interfaces.IDynamicTextureManager.ReturnData | ( | UUID | id, |
IDynamicTexture | texture | ||
) |
Used by IDynamicTextureRender implementations to return renders
id | |
data | |
isReuseable |
Implemented in OpenSim.Region.CoreModules.Scripting.DynamicTexture.DynamicTextureModule.