GetCubemapFrontFaceCoordinates Data Member Function

Given a layered <Image> object representing a cubemap, this function populates the <Int32Array> object submitted to the function with the byte coordinates of the cubemap's 'face' face. Non-zero indicates success, and zero indicates failure. The most common cause of failure is submitting an image with a pixel height that is not divisible evenly by 6.

Prototype

int32 GetCubemapFrontFaceCoordinates( Image p_oImage, Int32Array p_aiCoordinates )

Parameters

Parameter Type Parameter Name Documentation
<Image>p_oImageA pointer to the <Image> object representing the cubemap.
<Int32Array>p_aiCoordinatesThe <Int32Array> to populate with cubemap face byte coordinates.

Examples

Copy Text To Clipboard

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