Defines a rectangular area within a texture using pixel coordinates.
This interface represents a rectangular region of a SharedStageTexture
that will be displayed on a billboard or plane mesh. Coordinates use
a standard 2D coordinate system with (0,0) at the top-left.
Example
// Define a 256x256 area starting at position (100, 50) consttextureArea: TextureArea = { x:100, y:50, width:256, height:256 };
// Use with SharedStageBillboard constbillboard = newSharedStageBillboard(sharedMaterial, textureArea);
Defines a rectangular area within a texture using pixel coordinates.
This interface represents a rectangular region of a SharedStageTexture that will be displayed on a billboard or plane mesh. Coordinates use a standard 2D coordinate system with (0,0) at the top-left.
Example