HasValidCoordinates Data Member Function

Returns true if a range of image coordinates are valid. For example: a 512x512 texture can have starting x and y coordinates of zero, but the end x and y coordinates must be greater than zero. Similarly, for a 512x512 texture, you cannot have starting x and y coordinates that are less than zero. Please note that this test does not determine if the coordinates are valid for a particular texture, just whether or not they are generally valid.

Prototype

int32 HasValidCoordinates( Int32Array p_aiCoordinates )

Parameters

Parameter Type Parameter Name Documentation
<Int32Array>p_aiCoordinatesA pointer to an <Int32Array> containing the image coordinates to validate.

Examples

Copy Text To Clipboard

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