Pass:getHeight

Edit

Returns the height of the textures of the Pass's canvas, in pixels.

height = Pass:getHeight()

Arguments

None

Returns

NameTypeDescription
heightnumber The texture height.

Notes

If the pass doesn't have a canvas, this function returns zero.

See also