NuiDrawList( json, json, json )

From NWN Lexicon
Jump to: navigation, search
Nwnee logo.jpg Note: This article documents Neverwinter Nights: Enhanced Edition new content or changes/updates/fixes to 1.69 functions. These are all listed under the category and patches pages.

json Element


json                    // Element
NuiDrawList(
  json jElem,           // Element
  json jScissor,        // Bind:Bool       Constrain painted elements to widget bounds.
  json jList            // DrawListItem[]
);

Return

json Element

Parameters

jElem
json Element
jScissor
JsonBool or NuiBind (Note: dont' get confused with an NWN int)
jList
JsonArray of Draw Items


Description

json Element


Remarks

// -----------------------
// Draw Lists
 
// Draw lists are raw painting primitives on top of widgets.
// They are anchored to the widget x/y coordinates, and are always
// painted in order of definition, without culling. You cannot bind
// the draw_list itself, but most parameters on individual draw_list
// entries can be bound.

Version

This function was added in 1.85.8193.31 of NWN:EE.


Example

Information icon.png This article is in need of examples. You can help the NWN Lexicon by showing how to use this code effectively.


See Also

functions:

NUI Functions