Vector3.setFloor() - Mtax-Development/GML-OOP GitHub Wiki

Arguments

Name
Type
Optional
value1?
Yes
value2?
Yes
value3?
Yes

Returns

Not applicable.

Description

Set all values to equivalent integers after rounding them down. The numbers used are based on what arguments are provided:
  • None: Current constructor properties will be rounded.
  • A single number: Will be used for all values.
  • A single array: First three positions will be used for x, y and z values, respectively.
  • Vector3: Respective properties will be used.
  • Three numbers: Will be used for x, y and z values, respectively.

⚠️ **GitHub.com Fallback** ⚠️