Material.OGLTexture

Description

Returns the OGLTexture for this Material. The OGLTexture is a read-only object that holds the texture information used by OGL.

C# Syntax

// get accessor
OGLTexture rtn = Material.OGLTexture;

Examples

VBScript Example

dim grid
set grid = ActiveProject.ActiveScene.Root.AddGeometry("Grid", "MeshSurface")
BlendInPresetsInsp , grid, 1, True, True
Application.LogMessage TypeName(grid.Material.OGLTexture)