CurrentTexture (Material)

Description

Returns the Texture used with the current UV to display in OGL (as configured in the material's hardware display settings).

C# Syntax

    // get accessor
    Texture rtn = Material.CurrentTexture;

Examples

VBScript Example

    set oCube = CreatePrim("Cube", "MeshSurface")
    ApplyShader
    CreateProjection oCube.Name, "siTxtSpherical", "siTxtDefaultSpherical", , "Texture_Projection"
    BlendInPresetsInsp , , , True, True

    set oMaterial = oCube.Material
    Application.LogMessage oMaterial.CurrentTexture

See Also

Shader | Material.CurrentUV | Material.CurrentImageClip

Autodesk Softimage v7.5