IgeEntity

Method: opacity

Gets / sets the entity opacity from 0.0 to 1.0.
opacity (Number val)
  • Numberval The opacity value.
Returns * "this" when arguments are passed to allow method chaining or the current value if no arguments are specified.

Set the entity to half-visible

entity.opacity(0.5);

Set the entity to fully-visible

entity.opacity(1.0);
© Copyright 2013 Irrelon Software Limited. All Rights Reserved. UK Registered Company Number: 07522767
Isogenic (ī´sōjen´ik): Adj originating from a common source; possessing the same genetic composition.
Strange Things Happen at the One Two Point