Returns the height in pixels of a single slice of a layered texture. This means a single layer-face. For example: the height in pixels of a single layer-face of a 2D array texture, or the height in pixels of a single layer face of a cubemap array. In the case of a cubemap array, the layer-face refers to a single face of a single cubemap in the array. Finally, this value is always computed using the render height as the basis, and not the actual height in pixels specified by the <Texture> object's internal <Image> object.
int32 GetSliceHeight( Texture p_oTexture )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Texture> | p_oTexture | A pointer to the <Texture> object to query. |
None published. Please look for an example in the Scenome Scripting Language code base.