Difference between revisions of "TEXTURE MEDIA"

From Second Life Wiki
Jump to navigation Jump to search
m (Undo revision 868042 by Mako Nozaki (Talk) sorry!)
Line 1: Line 1:
{{LSL_Constant/string/ja}}{{LSL Constant/ja
{{LSL_Constant/string}}{{LSL Constant
|name=TEXTURE_MEDIA
|name=TEXTURE_MEDIA
|type=string
|type=string
|value="8b5fec65-8d8d-9dc5-cda8-8fdf2716e361"
|value="8b5fec65-8d8d-9dc5-cda8-8fdf2716e361"
|desc=「Default Media」テクスチャの UUID
|desc=UUID for the "Default Media" texture
|examples
|examples
|notes
|notes
|constants=
|constants=
{{LSL ConstRow/ja|TEXTURE_BLANK}}
{{LSL ConstRow|TEXTURE_BLANK}}
{{LSL ConstRow/ja|TEXTURE_PLYWOOD}}
{{LSL ConstRow|TEXTURE_PLYWOOD}}
{{LSL ConstRow/ja|TEXTURE_TRANSPARENT}}
{{LSL ConstRow|TEXTURE_TRANSPARENT}}
|functions=
|functions=
{{LSL DefineRow||{{LSLG/ja|llSetTexture}}|}}
{{LSL DefineRow||[[llSetTexture]]|}}
{{LSL DefineRow||{{LSLG/ja|llSetPrimitiveParams}}|}}
{{LSL DefineRow||[[llSetPrimitiveParams]]|}}
{{LSL DefineRow||{{LSLG/ja|llSetLinkPrimitiveParams}}|}}
{{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}}
|events
|events
|history=
|history=
{{SVN|627|rev=89264|branch=Branch_1-20-Viewer-2|ver=1.20.10|anchor=file3}} で導入されました。
Introduced in {{SVN|627|rev=89264|branch=Branch_1-20-Viewer-2|ver=1.20.10|anchor=file3}}
|issues=
|issues=
{{LSL Bug|VWR-7315|{{LSLG/ja|TEXTURE_DEFAULT}} は良くない定数名です|status=fixed}}
{{LSL Bug|VWR-7315|[[TEXTURE_DEFAULT]] is a bad constant name|status=fixed}}
|cat1=Key
|cat1=Key
|cat2=Texture
|cat2=Texture

Revision as of 21:59, 16 April 2010

Description

Constant: string TEXTURE_MEDIA = "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361";

The string constant TEXTURE_MEDIA has the value "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361"

UUID for the "Default Media" texture

Caveats


Related Articles

Notes

Like any LSO string constants longer then 3 characters and used in multiple places in the code, they should be stored in a global variable. The result will be a considerable memory savings. This does not apply to scripts compiled with Mono. See LSL Constants vs Globals for more information about this and examples.

Deep Notes

History

All Issues

~ Search JIRA for related Issues
   TEXTURE_DEFAULT is a bad constant name!

Signature

string TEXTURE_MEDIA = "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361";