Format
typescript
Texture.isReadableclass: Texture
Description
(Read Only) Whether the texture is readable.
Readability refers to whether pixel data can be read from the texture.
Parameters
| param_name | type | description |
|---|
Return
| type | description |
|---|---|
boolean | Whether the texture is readable. |
Code Example
typescript
let texture = Resources.Load<Texture>(Texture, "textureId");
texture.isReadable;