get3DENGrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


|arma3|Game name=
|arma3


|1.56|Game version=
|1.56


|gr1= Eden Editor |GROUP1=
|gr1= Eden Editor


| Returns the grid increment for the given transformation type.<br>
| Returns the grid increment for the given transformation type.<br>
Line 12: Line 12:
* Translation - "t"
* Translation - "t"
* Scale - "s"
* Scale - "s"
|DESCRIPTION=


| '''get3DENGrid''' type|SYNTAX=
|p1= type: [[String]] - name of transformation |PARAMETER1=
| [[Number]] |RETURNVALUE=


|x1= <code>currentMovementIncrement = [[get3DENGrid]] "t";// returns 1</code>|EXAMPLE1=
| '''get3DENGrid''' type
|p1= type: [[String]] - name of transformation
| [[Number]]
 
|x1= <code>currentMovementIncrement = [[get3DENGrid]] "t";// returns 1</code>


|   
|   
Line 50: Line 50:
[[set3DENLinesVisible]]
[[set3DENLinesVisible]]
[[set3DENObjectType]]
[[set3DENObjectType]]
|SEEALSO=
 


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 00:37, 18 January 2021

Hover & click on the images for description

Description

Description:
Returns the grid increment for the given transformation type.
Transformation types:
  • Rotation - "r"
  • Translation - "t"
  • Scale - "s"
Groups:
Eden Editor

Syntax

Syntax:
get3DENGrid type
Parameters:
type: String - name of transformation
Return Value:
Number

Examples

Example 1:
currentMovementIncrement = get3DENGrid "t";// returns 1

Additional Information

See also:
get3DENMouseOver add3DENConnection add3DENEventHandler all3DENEntities collect3DENHistory create3DENComposition create3DENEntity current3DENOperation delete3DENEntities do3DENAction get3DENActionState get3DENAttribute get3DENCamera get3DENConnections get3DENEntityID get3DENIconsVisible get3DENLinesVisible get3DENSelected is3DEN is3DENMultiplayer move3DENCamera remove3DENConnection remove3DENEventHandler removeAll3DENEventHandlers set3DENAttributes set3DENGrid set3DENIconsVisible set3DENLinesVisible set3DENObjectType

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

Notes


Bottom Section