MaterialAssignment.setSize() method
Set the scale
option by unit value.
Signature:
setSize(value: number, unit?: 'cm' | 'uv'): this;
Parameters
Parameter |
Type |
Description |
---|---|---|
value |
number |
the scalar value. |
unit |
'cm' | 'uv' |
(Optional) the unit of the provided value. |
this
Example
assignment.setSize(10, 'cm');