Skip to content

Texture

0880 edited this page Apr 5, 2024 · 1 revision

Properties

  • textureAsset: A TextureAsset object representing the texture asset.
  • uv0: A Vector2 object representing the UV coordinate of the bottom-left corner of the texture.
  • uv1: A Vector2 object representing the UV coordinate of the top-right corner of the texture.

Constructors

Texture()

  • Initializes an empty texture object.

Texture(TextureAsset textureAsset)

  • Initializes a texture object with the specified texture asset.

Clone this wiki locally