diff --git a/doc/index.html b/doc/index.html index 022c1d3..5da9b9c 100644 --- a/doc/index.html +++ b/doc/index.html @@ -955,6 +955,19 @@ Hence a scale of 4 would appear to shrink the texture by a factor of 4 and tile the texture 16 times where it normally would have once.

+ +

setTransparency

+

obj:setTransparency(t)

+

+This function sets the transparency of the object. +t should be between 0.0 and 1.0, with 1.0 being fully transparent. +Note that the object will only render transparent if it is created with +the optional ''enable_blending'' attribute set to ''true.'' +This does incur a slight performance hit. +This call has no effect when the object has a texture specified, as the +transparency is taken from the texture in that case. +

+

setVisible

obj:setVisible(visible_flag)