GetSliceWidth Data Member Function

Returns the width in pixels of a single slice of a layered texture. This will be the same as the width of the <Texture> object.

Prototype

int32 GetSliceWidth( Texture p_oTexture )

Parameters

Parameter Type Parameter Name Documentation
<Texture>p_oTextureA pointer to the <Texture> object to query.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.