SetTranslucent: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
(New page: SetTranslucent(alpha, mode) *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 ...) |
No edit summary |
||
Line 1: | Line 1: | ||
SetTranslucent(alpha, mode) | {{codepointer|description=Sets the translucency percentage of the actor, allowing switching from translucent rendering, additive translucency or fuzz effect to another. | ||
|usage='''SetTranslucent'''(''alpha'', ''mode'') | |||
|parameters= | |||
*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). | ||
|notes=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. | |||
|seealso= | |||
*[[FadeIn]] | |||
*[[FadeOut]] | |||
*[[ | }} | ||
[[ |
Latest revision as of 15:25, 13 February 2021
Description
Sets the translucency percentage of the actor, allowing switching from translucent rendering, additive translucency or fuzz effect to another.
Usage
SetTranslucent(alpha, mode)
Parameters
- 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).
Examples
No examples given.
Notes
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.