diff --git a/Docs/Luadoc/Lua.xml b/Docs/Luadoc/Lua.xml index 636511b41a..645cad89f2 100644 --- a/Docs/Luadoc/Lua.xml +++ b/Docs/Luadoc/Lua.xml @@ -468,6 +468,24 @@ + + + + + + + + + + + + + + + + + + @@ -1874,6 +1892,15 @@ + + + + + + + + + diff --git a/Docs/Luadoc/LuaDocumentation.xml b/Docs/Luadoc/LuaDocumentation.xml index 667cd9f5b1..665f52d98e 100644 --- a/Docs/Luadoc/LuaDocumentation.xml +++ b/Docs/Luadoc/LuaDocumentation.xml @@ -1401,6 +1401,68 @@ save yourself some time, copy this for undocumented things: Sets a TextureMode on the specified index. + + + Sets vertex number index with the properties provided. The tables of properties are each optional and can be provided in any order. + + + Sets multiple vertices at once. The elements of vertices should themselves be tables, of the form provided to SetVertex. If vertices is the first argument it will start from vertex 1. If an integer is provided before vertices it will start from that vertex. It will add vertices as necessary. + Example: self:SetVertices( { { { x1, y1, z1 } , { r1,g1,b1,a1 } , { tcx1,tcy1 } }; { { x2, y2, z2 } , { r2,g2,b2,a2 } , { tcx2,tcy2 } } } ) + + + Sets the number of vertices. + + + Returns the number of vertices + + + Sets the draw state variables to the values in the table.
+ Mode must be a DrawMode.
+ First is the index of the first vertex to draw.
+ Num is the number of vertices to draw. -1 for Num means draw all verts after First.
+ Any value not in the table defaults to the already set value.
+ Examples:
+ -- Sets all three parts of the draw state.
+ self:SetDrawState{Mode="DrawMode_Quads", First= 1, Num= -1}
+ -- Set only the draw mode. First and Num remain unchanged from previous.
+ self:SetDrawState{Mode="DrawMode_Quads"}
+ -- Set the first and number to draw. Draw mode remains unchanged.
+ self:SetDrawState{First= 3, Num= 4}
+
+ + Get the DrawMode of the destination tween state. + + + Get the FirstToDraw of the destination tween state. + + + Get the NumToDraw of the destination tween state. + + + Get the DrawMode of the current tween state. + + + Get the FirstToDraw of the current tween state. + + + Get the NumToDraw of the current tween state. + + + Sets the EffectMode of the ActorMultiVertex. + + + Sets the TextureMode of the ActorMultiVertex. + + + Sets the width of the line for DrawMode_LineStrip. + + + Sets the texture to texture + + + Sets the texture at from the file path path. + +
Returns the target of the ActorProxy. @@ -2366,12 +2428,12 @@ save yourself some time, copy this for undocumented things: Resets the specific Player's mods to the default settings. - - Save profiles. - Saves the bookkeeping and machine profile data. + + Save profiles. + Sets the current for the specified .