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

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)
 

Detailed Description

Definition at line 35 of file IDynamicTextureManager.cs.

Member Function Documentation

UUID OpenSim.Region.Framework.Interfaces.IDynamicTextureManager.AddDynamicTextureData ( UUID  simID,
UUID  primID,
string  contentType,
string  data,
string  extraParams,
int  updateTimer 
)
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.

Parameters
simIDThe simulator in which the texture is being generated
primIDThe prim to which to apply the texture.
contentTypeThe 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
dataThe data for the generator
extraParamsParameters for the generator that don't form part of the main data.
updateTimerIf zero, the image is never updated after the first generation. If positive the image is updated at the given interval. Not implemented for
SetBlendingIf true, the newly generated texture is blended with the appropriate existing ones on the prim
AlphaValueThe alpha value of the generated texture.
Returns
The UUID of the texture updater, not the texture UUID. If you need the texture UUID then you will need to obtain it directly from the SceneObjectPart. For instance, if ALL_SIDES is set then this texture can be obtained as SceneObjectPart.Shape.Textures.DefaultTexture.TextureID

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.

Parameters
simIDThe simulator in which the texture is being generated
primIDThe prim to which to apply the texture.
contentTypeThe 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
dataThe data for the generator
extraParamsParameters for the generator that don't form part of the main data.
updateTimerIf zero, the image is never updated after the first generation. If positive the image is updated at the given interval. Not implemented for
SetBlendingIf true, the newly generated texture is blended with the appropriate existing ones on the prim
dispDisplay 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.
AlphaValueThe alpha value of the generated texture.
faceThe face of the prim on which to put the generated texture. If ALL_SIDES then all sides of the prim are set
Returns
The UUID of the texture updater, not the texture UUID. If you need the texture UUID then you will need to obtain it directly from the SceneObjectPart. For instance, if ALL_SIDES is set then this texture can be obtained as SceneObjectPart.Shape.Textures.DefaultTexture.TextureID

Implemented in OpenSim.Region.CoreModules.Scripting.DynamicTexture.DynamicTextureModule.

UUID OpenSim.Region.Framework.Interfaces.IDynamicTextureManager.AddDynamicTextureURL ( UUID  simID,
UUID  primID,
string  contentType,
string  url,
string  extraParams,
int  updateTimer 
)
UUID OpenSim.Region.Framework.Interfaces.IDynamicTextureManager.AddDynamicTextureURL ( UUID  simID,
UUID  primID,
string  contentType,
string  url,
string  extraParams,
int  updateTimer,
bool  SetBlending,
byte  AlphaValue 
)
UUID OpenSim.Region.Framework.Interfaces.IDynamicTextureManager.AddDynamicTextureURL ( UUID  simID,
UUID  primID,
string  contentType,
string  url,
string  extraParams,
int  updateTimer,
bool  SetBlending,
int  disp,
byte  AlphaValue,
int  face 
)
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

Parameters
id
data
isReuseable

Implemented in OpenSim.Region.CoreModules.Scripting.DynamicTexture.DynamicTextureModule.


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