From a6b69f91dd0169e62d954afc4f36f367c1cb0bb6 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Mon, 6 Aug 2007 00:06:35 +0000 Subject: [PATCH] Add documentation for a few random Actor functions for examples of using Link. --- stepmania/Docs/LuaDocumentation.xml | 31 ++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/stepmania/Docs/LuaDocumentation.xml b/stepmania/Docs/LuaDocumentation.xml index 0ac0f9f379..fcc2d38c53 100644 --- a/stepmania/Docs/LuaDocumentation.xml +++ b/stepmania/Docs/LuaDocumentation.xml @@ -4,6 +4,19 @@ going to http://tools.decisionsoft.com/schemaValidate/ and using Lua.xsd for the XML Schema and this file for the XML Instanace. --> + + + @@ -18,14 +31,26 @@ + + Set the fractional horizontal alignment of the Actor according to fAlign which should be a float in the range 0..1. An alignment of 0 is left aligned while an alignment of 1 is right aligned. See horizalign() for the common case. + + + Set the horizontal alignment of the Actor according to align which should be one of HorizAlign. See halign() for fractional alignment. + + + Set the fractional vertical alignment of the Actor according to fAlign which should be a float in the range 0..1. An alignment of 0 is top aligned while an alignment of 1 is bottom aligned. See vertalign for the common case. + + + Set the vertical alignment of the Actor according to align which should be one of VertAlign. See valign() for fractional alignment. + - Set the x position of the Actor. + Set the x position of the Actor to xPos. - Set the y position of the Actor. + Set the y position of the Actor to yPos. - Set the z position of the Actor. + Set the z position of the Actor to zPos.