Editing SetTranslucent
From Eternity Wiki
Jump to navigationJump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
SetTranslucent(alpha, mode) | |||
*alpha: (fixed point value) a number from 0 to 1 setting the alpha (opacity) value | *alpha: (fixed point value) a number from 0 to 1 setting the alpha (opacity) value | ||
*mode: whether to use normal translucency (0), additive translucency (1) or spectre fuzz (2). | *mode: whether to use normal translucency (0), additive translucency (1) or spectre fuzz (2). | ||
Sets the translucency percentage of the actor, allowing switching from translucent rendering, additive translucency or fuzz effect to another. In effect it may set or clear the TLSTYLEADD or SHADOW flags. Boom TRANSLUCENT rendering is removed by this flag and replaced by the newer customizable translucency that doesn't depend on that flag. | |||
*[[ | |||
==See also== | |||
*[[List of codepointers]] | |||
[[Category:codepointers]] |