get3DENGrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
Line 17: Line 17:
|r1= [[Number]]
|r1= [[Number]]


|x1= <code>_currentIncrement = get3DENGrid "t";</code>
|x1= <sqf>_currentIncrement = get3DENGrid "t";</sqf>


|seealso= [[set3DENGrid]]
|seealso= [[set3DENGrid]]
}}
}}

Revision as of 10:23, 13 May 2022

Hover & click on the images for description

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:
_currentIncrement = get3DENGrid "t";

Additional Information

See also:
set3DENGrid

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note