Texture¶
Applies a repeating image texture to the face of a parent BasePart.
Description¶
A Texture object applies a repeating image texture to the face of a parent BasePart. The affected face is dependent on the Face property. Unlike Decals, the texture applied by a Texture will repeat when the parent BasePart is resized, with the size of the repeating textures determined by the StudsPerTileU and StudsPerTileV properties.
The applied image texture is determined by its ColorMapContent property. For details on how to upload images, see asset management.
For more information, review textures and decals. See also:
- Decal for non-repeating surface images.
- MeshPart.TextureContent to apply an image texture to a MeshPart.
- SurfaceGui to apply an ImageLabel or ImageButton to an in-experience 3D object.
Inheritance¶
Object → Instance → FaceInstance → Decal → Texture
Nova inheritance: Instance → FaceInstance → Decal → Texture
Properties¶
OffsetStudsU Supported Property Determines the offset in studs of the rendered texture's horizontal coordinate.
Determines the offset in studs of the rendered texture's horizontal coordinate.
This property determines how far the rendered texture is offset on the horizontal axis, in studs, as visualized here.
See also OffsetStudsV.
OffsetStudsV Supported Property Determines the offset in studs of the rendered texture's vertical coordinate.
Determines the offset in studs of the rendered texture's vertical coordinate.
This property determines how far the rendered texture is offset on the vertical axis, in studs, as visualized here.
See also OffsetStudsU.
StudsPerTileU Supported Property Sets the horizontal size, in studs, of the tiled image applied by the Texture.
Sets the horizontal size, in studs, of the tiled image applied by the Texture.
Larger values for this property will lead to the Texture appearing larger, and repeating less frequently. Unlike with Decals, the size of the repeated image is unaffected by the dimensions of the BasePart. Instead, resizing the BasePart only increases the number of times the texture repeats.
Note that this property can be set to very low values, but not zero. Also note that the horizontal/vertical distinction is relative to the parent BasePart axis; therefore the Texture will rotate along with the BasePart.
See also StudsPerTileV.
StudsPerTileV Supported Property Sets the vertical size, in studs, of the tiled image applied by the Texture.
Sets the vertical size, in studs, of the tiled image applied by the Texture.
Larger values for this property will lead to the Texture appearing larger, and repeating less frequently. Unlike with Decals, the size of the repeated image is unaffected by the dimensions of the BasePart. Instead, resizing the BasePart only increases the number of times the texture repeats.
Note that this property can be set to very low values, but not zero. Also note that the horizontal/vertical distinction is relative to the parent BasePart axis; therefore the Texture will rotate along with the BasePart.
See also StudsPerTileU.
Inherited members¶
Inherited from Decal: 17 properties, 36 methods, 7 events. They are documented on the base class page.
Roblox reference: Texture
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.