get3DENGrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Text replacement - "<tt>([a-zA-Z0-9\. _"']+)<\/tt>" to "{{hl|$1}}")
Line 11: Line 11:


|p1= type: [[String]] - Name of transformation type. Can be:
|p1= type: [[String]] - Name of transformation type. Can be:
* <tt>"r"</tt> - Rotation
* {{hl|"r"}} - Rotation
* <tt>"t"</tt> - Translation
* {{hl|"t"}} - Translation
* <tt>"s"</tt> - Scale  
* {{hl|"s"}} - Scale  


|r1= [[Number]]
|r1= [[Number]]

Revision as of 23:44, 15 November 2021

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