Most visited

Recently visited

Material.TransparencyMode

public static final enum Material.TransparencyMode
extends Enum<Material.TransparencyMode>

java.lang.Object
   ↳ java.lang.Enum<com.viro.core.Material.TransparencyMode>
     ↳ com.viro.core.Material.TransparencyMode


TransparencyMode determines how the opacity of pixels is computed.

Summary

Enum values

Material.TransparencyMode  A_ONE

Transparency is derived from the alpha channel of each color, where 0.0 is fully transparent and 1.0 is opaque. 

Material.TransparencyMode  RGB_ZERO

Transparency is derived from the luminance of the colors. 

Public methods

static Material.TransparencyMode valueOf(String name)
static final TransparencyMode[] values()

Enum values

A_ONE

Material.TransparencyMode A_ONE

Transparency is derived from the alpha channel of each color, where 0.0 is fully transparent and 1.0 is opaque. This is the default.

RGB_ZERO

Material.TransparencyMode RGB_ZERO

Transparency is derived from the luminance of the colors.

Public methods

valueOf

Material.TransparencyMode valueOf (String name)

Parameters
name String

Returns
Material.TransparencyMode

values

TransparencyMode[] values ()

Returns
TransparencyMode[]

Hooray!