get3DENGrid: Difference between revisions
m (formatting) |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 1.56 | |version1= 1.56 | ||
| Line 9: | Line 8: | ||
|descr= Returns the grid increment for the given transformation type. | |descr= Returns the grid increment for the given transformation type. | ||
|s1= | |s1= [[get3DENGrid]] type | ||
|p1= type: [[String]] - Name of transformation type. Can be: | |p1= type: [[String]] - Name of transformation type. Can be: | ||
* | * {{hl|"r"}} - Rotation | ||
* | * {{hl|"t"}} - Translation | ||
* | * {{hl|"s"}} - Scale | ||
|r1= [[Number]] | |r1= [[Number]] | ||
|x1= < | |x1= <sqf>_currentIncrement = get3DENGrid "t";</sqf> | ||
|seealso= [[set3DENGrid]] | |seealso= [[set3DENGrid]] | ||
}} | }} | ||
Revision as of 10:23, 13 May 2022
Description
- Description:
- Returns the grid increment for the given transformation type.
- Groups:
- Eden Editor
Syntax
- Syntax:
- get3DENGrid type
- Parameters:
- type: String - Name of transformation type. Can be:
- "r" - Rotation
- "t" - Translation
- "s" - Scale
- Return Value:
- Number
Examples
- Example 1:
Additional Information
- See also:
- set3DENGrid
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note