OGLTexture.Height
 
 
 

OGLTexture.Height

Description

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

C# Syntax

// get accessor
Int32 rtn = OGLTexture.Height;

Examples

VBScript Example

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