NuiDrawListPolyLine( json, json, json, json, json, int, int )
From NWN Lexicon
Jump to navigationJump to searchDraws a PolyLine
json // DrawListItem
NuiDrawListPolyLine(
json jEnabled, // Bind:Bool
json jColor, // Bind:Color
json jFill, // Bind:Bool
json jLineThickness, // Bind:Float
json jPoints, // Bind:Float[] Always provide points in pairs
int nOrder = NUI_DRAW_LIST_ITEM_ORDER_AFTER, // Int:NUI_DRAW_LIST_ITEM_ORDER_*
int nRender = NUI_DRAW_LIST_ITEM_RENDER_ALWAYS // Int:NUI_DRAW_LIST_ITEM_RENDER_*
);
NuiDrawListPolyLine(
json jEnabled, // Bind:Bool
json jColor, // Bind:Color
json jFill, // Bind:Bool
json jLineThickness, // Bind:Float
json jPoints, // Bind:Float[] Always provide points in pairs
int nOrder = NUI_DRAW_LIST_ITEM_ORDER_AFTER, // Int:NUI_DRAW_LIST_ITEM_ORDER_*
int nRender = NUI_DRAW_LIST_ITEM_RENDER_ALWAYS // Int:NUI_DRAW_LIST_ITEM_RENDER_*
);
Return
json Element
Parameters
- jEnabled
- JsonBool or NuiBind (Note: dont' get confused with an NWN int)
- jColor
- NuiColor or NuiBind
- jFill
- JsonBool or NuiBind (Note: dont' get confused with an NWN int)
- jLineThickness
- JsonFloat or NuiBind (Note: dont't get it confused with an NWN float)
- jPoints
- JsonArray of JsonFloat
- nOrder
- NUI_DRAW_LIST_ITEM_ORDER_*
- nRender
- NUI_DRAW_LIST_ITEM_RENDER_*
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.
// 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
See Also
functions: |