Skip to main content

Material.GetTextureOffset(string name)

Gets the placement offset of texture propertyName.

Parameters:

NameTypeDescription
namestringThe name of the property.

Returns:

typeDescription
Vector2the placement offset of texture propertyName.

Usage

---@type Material
local material;

---@type string
local name;


local val0 = material.GetTextureOffset(name)