NoveltyML reference > Resources > Texture

<Texture>
Inherits from <Resource>.

Creates a texture resource.

See also: About textures

Attribute Description Type
source [Required] Filename of texture source String
size Crops the texture to a custom size Vector2
default-size Set a custom default-size when created in editor. Vector2

Child tags Description Count
<Meta> Meta information
1


Inherited from <Resource>

Attribute Description Type
name [Required] Unique name for this resource String
hidden Don't show in asset browser. Boolean


NoveltyML sample
<Texture name="My texture" source="Assets/Textures/My texture.png" />
		


Back to top