Part of StarfallEx namespace
๐ External
material.getColor(path, x, y)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Returns a color pixel value of the $basetexture of a .png or .jpg material.
Parameters
| Name | Type | Description |
|---|---|---|
path | string | The path of the material (don't include .vmt in the path) |
x | number | The x coordinate of the pixel |
y | number | The y coordinate of the pixel |
Returns
| Type | Description |
|---|---|
Color | The color value |
Examples
No examples available.
Used In
No usages found in the codebase.