OGLTexture.Width
 
 
 

OGLTexture.Width

Description

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

C# Syntax

// get accessor
Int32 rtn = OGLTexture.Width;

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