Takes a crop data object and recalculates the UVs based on the dimensions inside the crop object.
Called automatically by setFrame
.
name | type | description |
---|---|---|
crop | object |
The crop data object. This is the |
flipX | boolean |
Does the parent Game Object have flipX set? |
flipY | boolean |
Does the parent Game Object have flipY set? |
The updated crop data object.