Texture Provider providing a cropped region of the input texture. The region is specified by the cropRect in local space and rotation.
Can be accessed using Texture.control on a RectCropTexture asset, such as a Screen Crop Texture.
For more information, see the Crop Textures guide.
Example
// @input Asset.Texture screenCropTexture
// Zoom in script.screenCropTexture.control.cropRect = Rect.create(-.5, .5, -.5, .5);
// Rotate by 90 degrees script.screenCropTexture.control.rotation = Math.PI * .5;
Texture Provider providing a cropped region of the input texture. The region is specified by the cropRect in local space and rotation. Can be accessed using Texture.control on a RectCropTexture asset, such as a Screen Crop Texture. For more information, see the Crop Textures guide.
Example