added documentation for ag::object::setTransparency()
git-svn-id: svn://anubis/anaglym/trunk@317 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
parent
11da99b3ad
commit
283d84aa25
@ -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.
|
||||
</p>
|
||||
|
||||
<a name="object_setTransparency" />
|
||||
<h3>setTransparency</h3>
|
||||
<p><tt>obj:setTransparency(t)</tt></p>
|
||||
<p>
|
||||
This function sets the transparency of the object.
|
||||
<tt>t</tt> 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.
|
||||
</p>
|
||||
|
||||
<a name="object_setVisible" />
|
||||
<h3>setVisible</h3>
|
||||
<p><tt>obj:setVisible(visible_flag)</tt></p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user