Skip to content

Documentation / @ripl/3d / textureSourceHeight

Function: textureSourceHeight() ​

textureSourceHeight(source): number

Defined in: 3d/src/core/texture.ts:244

Returns an image source's height in pixels, or 0 when it has no intrinsic size yet.

Parameters ​

ParameterType
sourceTextureSource

Returns ​

number