GetActorAlpha

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns the calling actor's current Alpha as a floating point number ranging from 0.0 to 1.0, with 0.0 corresponding to fully-transparent and 1.0 to fully-opaque.

Syntax

[help]
(alpha:float) reference.GetActorAlpha

Example

set fAlpha to actorRef.GetActorAlpha 

Notes

  • Higher values indicate more light: the values appear to range from 0 for complete darkness, to 100 for very bright light.

See Also