If the picture pixel is greater than the value set by the transparency, the texture corresponding to the slice will not be created, and the search for a parent node will be discarded.
See:
Methods
-
Determines if the discard policy is ready to process images.
Returns:
True if the discard policy is ready to process images; otherwise, false. -
Given a tile image, decide whether to discard that image.
Name Type Description image
Image An image to test. Returns:
True if the image should be discarded; otherwise, false.Throws:
-
DeveloperError :
shouldDiscardImage
must not be called before the discard policy is ready.
-