Skip to content

Api > Material > GetTextureScale()


Material.GetTextureScale(string name)⚓︎

Gets the placement scale of texture propertyName.

Parameters:⚓︎

Name Type Description
name string The name of the property.

Returns:⚓︎

type Description
Vector2 the placement scale of texture

Usage⚓︎

---@type Material
local material;

---@type string
local name;


local val0 = material.GetTextureScale(name)