OGLTexture.Width

Description

Returns the width of this texture's image in pixels (Integer).

Examples

VBScript Example

dim grid
set grid = ActiveProject.ActiveScene.Root.AddGeometry("Grid", "MeshSurface")
BlendInPresetsInsp , grid, 1, True, True
Application.LogMessage "OGL texture width: " & grid.Material.OGLTexture.Width