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.
int32 HasValidCoordinates( Int32Array p_aiCoordinates )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Int32Array> | p_aiCoordinates | A pointer to an <Int32Array> containing the image coordinates to validate. |
None published. Please look for an example in the Scenome Scripting Language code base.