- View the diff current.
- View the source.
- Go to OpenSim/OSFunction/osSetDynamicTextureURL.
3: 2010-01-21 (Thu) 02:14:26 iseki | 4: 2010-02-02 (Tue) 23:55:24 iseki | ||
---|---|---|---|
Line 1: | Line 1: | ||
*** [[osSetDynamicTextureURL>../osSetDynamicTextureURL]] [#y8603f3e] | *** [[osSetDynamicTextureURL>../osSetDynamicTextureURL]] [#y8603f3e] | ||
- public string [[osSetDynamicTextureURL>../osSetDynamicTextureURL]](string dynamicID, string contentType, string url, string extraParams, int timer) | - public string [[osSetDynamicTextureURL>../osSetDynamicTextureURL]](string dynamicID, string contentType, string url, string extraParams, int timer) | ||
+ | - 指定したURLの画像データをオブジェクトのテクスチャとする. | ||
+ | -- dynamicID: 未使用. 現時点では必ず空文字(String.Empty)とすること. | ||
+ | -- contentType: 現時点では ''image'' のみ. | ||
+ | -- url: 画像の URL | ||
+ | -- extraParams: パラメータ. ''image (LoadImageURLModule)'' では未使用. | ||
+ | -- timer: リフレッシュタイム. | ||
+ | -- 戻り値: dynamicID が空文字でない場合は空文字が返る.dynamicID が空文字の場合,失敗しても成功してもUUIDの文字列を返す.ただし,これはテクスチャのUUIDと一致しない(バグか?) | ||
+ | #br | ||
- | - サンプル | + | *** 関数の呼び出しフロー [#kec3e400] |
+ | - OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs | ||
+ | -- UUID AddDynamicTextureURL() | ||
+ | --- OpenSim/Region/CoreModules/Scripting/*/*Module.cs (* はモジュール名) | ||
+ | ---- contentType に対応したモジュール(RenderPlugins[contentType]) が自動的に呼び出される.現時点では ''image''(''LoadImageURLModule'')にのみ対応. | ||
+ | ---- bool RenderPlugins[contentType].AsyncConvertUrl() | ||
+ | ---- 現時点では LoadImageURLModuleの この''↑'' 関数は,成功しても失敗しても ''true'' を返す(バグか?). | ||
+ | #br | ||
+ | |||
+ | *** サンプル [#g21fa543] | ||
integer picindex=0; | integer picindex=0; | ||
list urlarray = [] ; | list urlarray = [] ; | ||
Line 29: | Line 46: | ||
} | } | ||
} | } | ||
+ | #br | ||
+ | *** Bug [#n6b8b686] | ||
+ | - 返す文字列が,テクスチャの UUID になっていない.(仕様か?) | ||
+ | #br |
- Backup list of OpenSim/OSFunction/osSetDynamicTextureURL
- Backup diff of OpenSim/OSFunction/osSetDynamicTextureURL(No. All)
- 1: 2010-01-20 (Wed) 14:10:36 iseki
- 2: 2010-01-20 (Wed) 14:24:22 iseki
- 3: 2010-01-21 (Thu) 02:14:26 iseki
- 4: 2010-02-02 (Tue) 23:55:24 iseki
- Cur: 2010-02-03 (Wed) 21:34:18 iseki