GMS:Named Layer Ranges: Difference between revisions
From XMS Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{3D Grid links}} | {{3D Grid links}} | ||
Starting at version 8.0, GMS allows | Starting at version 8.0, GMS allows creating named layer ranges via the ''Grid'' | '''Named Layer Ranges''' menu command. A layer range has a name, a [[GMS:Materials|material]], and a minimum and maximum layer. | ||
*''Name'' – Can be any name entered. | |||
*''Material'' – Enter the material ID number as define in the ''Materials'' dialog. | |||
*''Min Layer'' – The minimum layer range. | |||
*''Max Layer'' – The maximum layer range. | |||
*''Material in undefined ranges'' – Enter the material ID for any layers that are not defined above. | |||
*''Update grid on OK'' – Make the "Named Layer Ranges" material set the active set. | |||
The order of the named layer range will determine range has precedence with named layer ranges on top having precedence over lower ranges. So if a layer range is from 1–5 and the layer range under it is 4–8, only layers 6–8 will receive the second layer name. The up [[File:Move Row Up Icon.svg|9 px]] and down [[File:Move Row Down Icon.svg|9 px]] arrows can be used to change this order. Rows can also be added [[File:Insert Row Icon.svg|16 px]] or deleted [[File:Delete Row Icon.svg|16 px]] to change the order. | |||
If named layer ranges are defined, GMS will create a [[GMS:Material Set|material set]] called "Named Layer Ranges" that matches the ranges defined in the dialog (if the material set already exists it is simply updated). If the ''Update grid on OK'' turned is on, GMS will make the "Named Layer Ranges" material set the active set. It is possible [[GMS:3D_Grid_Display_Options|display a legend]] showing the named layer ranges. | |||
Named layer ranges can be used in [[GMS:T-PROGS|T-PROGS]] to target a subset of grid layers. | Named layer ranges can be used in [[GMS:T-PROGS|T-PROGS]] to target a subset of grid layers. | ||
[[Image:named_layer_ranges.png|center|500px]] | {| | ||
|- | |||
|[[File:NamedLayerRanges.png|thumb|400 px|The ''Named Layer Ranges'' dialog]] | |||
|valign="top"|[[Image:named_layer_ranges.png|center|500px]] | |||
|} | |||
{{Navbox GMS}} | {{Navbox GMS}} | ||
[[Category:3D Grid]] | [[Category:3D Grid]] | ||