(マテリアルのハードウェアディスプレイ設定で設定されているように)OGL に表示するために現在の UV とともに使用されているTextureを戻します。
// get accessor Texture rtn = Material.CurrentTexture; |
set oCube = CreatePrim("Cube", "MeshSurface")
ApplyShader
CreateProjection oCube.Name, "siTxtSpherical", "siTxtDefaultSpherical", , "Texture_Projection"
BlendInPresetsInsp , , , True, True
set oMaterial = oCube.Material
Application.LogMessage oMaterial.CurrentTexture |