2: 2010-01-20 (水) 16:02:43 iseki |
現: 2010-02-03 (水) 04:13:23 iseki |
| *** [[osSetDynamicTextureData>../osSetDynamicTextureData]] [#r98dc94a] | | *** [[osSetDynamicTextureData>../osSetDynamicTextureData]] [#r98dc94a] |
| - public string [[osSetDynamicTextureData>../osSetDynamicTextureData]](string dynamicID, string contentType, string data, string extraParams, int timer) | | - public string [[osSetDynamicTextureData>../osSetDynamicTextureData]](string dynamicID, string contentType, string data, string extraParams, int timer) |
| + | - 動的に画像データを作成し,それをオブジェクトのテクスチャとする. |
| + | -- dynamicID: 未使用. 現時点では必ず空文字(String.Empty)とすること. |
| + | -- contentType: 現時点では ''vector'' のみ. |
| + | -- data: vector の場合は,画像データ作成コマンド. |
| + | -- extraParams: パラメータ. |
| + | -- timer: リフレッシュタイム. |
| + | -- 戻り値: dynamicID が空文字でない場合は空文字が返る.dynamicID が空文字の場合,失敗しても成功してもUUIDの文字列を返す.ただし,これはテクスチャのUUIDと一致しない(バグか?) |
| + | - 詳細 http://opensimulator.org/wiki/OsSetDynamicTextureData |
| #br | | #br |
- | *** File [#e264db3c] | + | |
| + | *** 関数の呼び出しフロー [#e264db3c] |
| - OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs | | - OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs |
| -- UUID AddDynamicTextureData() | | -- UUID AddDynamicTextureData() |
- | --- OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs | + | --- OpenSim/Region/CoreModules/Scripting/*/*Module.cs (* はモジュール名) |
- | ---- bool AsyncConvertData() | + | ---- contentType に対応したモジュール(RenderPlugins[contentType]) が自動的に呼び出される.現時点では ''vector'': VectorRenderModule のみに対応. |
| + | ---- bool RenderPlugins[contentType].AsyncConvertData() |
| + | ---- 現時点では VectorRenderModuleの この↑ 関数は,成功しても失敗しても true を返す(バグか?). |
| + | #br |
| + | |
| + | *** Bug [#n6b8b686] |
| + | - 返す文字列が,テクスチャの UUID になっていない.(仕様か?) |
| + | #br |