Material:getScalar
Returns a numeric property of a Material. Scalar properties default to 1.0.
x = Material:getScalar(scalarType)
Arguments
Name | Type | Description |
scalarType | MaterialScalar | The type of property to get. |
Returns
Name | Type | Description |
x | number | The value of the property. |
See also
MaterialScalar
Material:setScalar
Material