GBX.lua.Texture (Object): Difference between revisions

From Goodblox Wiki
Jump to navigationJump to search
(Created page with "{{CatUp|Class reference}} The ''Texture'' object places a texture on the face that it is set to. It works similarly to the Decal object, but instead...")
 
mNo edit summary
 
Line 1: Line 1:
{{CatUp|Class reference}}
{{CatUp|Class reference}}
The ''Texture'' object places a texture on the face that it is set to. It works similarly to the [[GBX.lua.Decal (Object)|Decal]] object, but instead of scaling the image to fit the brick, it will repeat to fit the brick side. This way you can create repeating images across a wall.
The ''Texture'' object places a texture on the face that it is set to. It works similarly to the [[GBX.lua.Decal (Object)|Decal]] object, but instead of scaling the image to fit the brick, it will repeat to fit the brick side. This way you can create repeating images across a wall.
==Functions==
==Functions==
The Texture only incorporates the global functions.
The Texture only incorporates the global functions.
==Properties==
==Properties==
In addition to the global properties, the Texture also has these properties:
In addition to the global properties, the Texture also has these properties:
Line 11: Line 13:
* [[StudsPerTileV]]
* [[StudsPerTileV]]
* [[Texture]]
* [[Texture]]
==Events==
==Events==
The Texture only incorporates the global events.
The Texture only incorporates the global events.


[[Category:Goodblox Lua Objects]]
[[Category:GoodBlox Lua Objects]]

Latest revision as of 20:17, 23 September 2021

The Texture object places a texture on the face that it is set to. It works similarly to the Decal object, but instead of scaling the image to fit the brick, it will repeat to fit the brick side. This way you can create repeating images across a wall.

Functions

The Texture only incorporates the global functions.

Properties

In addition to the global properties, the Texture also has these properties:

Events

The Texture only incorporates the global events.