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 'bottom' 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.
int32 GetCubemapBottomFaceCoordinates( Image p_oImage, Int32Array p_aiCoordinates )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Image> | p_oImage | A pointer to the <Image> object representing the cubemap. |
<Int32Array> | p_aiCoordinates | The <Int32Array> to populate with cubemap face byte coordinates. |
None published. Please look for an example in the Scenome Scripting Language code base.