Material.CurrentTexture

説明

(マテリアルのハードウェアディスプレイ設定で設定されているように)OGLに表示するために現在の UVとともに使用されているTextureを戻します。

VBScript の例

set oCube = CreatePrim("Cube", "MeshSurface")
ApplyShader
CreateProjection oCube.Name, "siTxtSpherical", "siTxtDefaultSpherical", , "Texture_Projection"
BlendInPresetsInsp , , , True, True
set oMaterial = oCube.Material
Application.LogMessage oMaterial.CurrentTexture

関連項目

Shader Material.CurrentUV Material.CurrentImageClip