SetTranslucent

From Eternity Wiki
Revision as of 15:38, 2 February 2010 by Printz (talk | contribs) (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 ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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 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