Most visited

Recently visited

Light.LightBuilder

public static abstract class Light.LightBuilder
extends Object

java.lang.Object
   ↳ com.viro.core.Light.LightBuilder<R extends com.viro.core.Light, B extends com.viro.core.Light.LightBuilder<R, B>>


LightBuilder abstract class for building subclasses of Light.

Summary

Public constructors

Light.LightBuilder()

Public methods

R build()

Returns the built subclass of Light.

LightBuilder color(long color)

Refer to setColor(long).

LightBuilder influenceBitMask(int bitMask)

Refer to setInfluenceBitMask(int).

LightBuilder intensity(float intensity)

Refer to setInfluenceBitMask(int).

LightBuilder temperature(float temperature)

Refer to LightsetTemperature(float).

Public constructors

Light.LightBuilder

Light.LightBuilder ()

Public methods

build

R build ()

Returns the built subclass of Light.

Returns
R The built Light.

color

LightBuilder color (long color)

Refer to setColor(long).

Parameters
color long

Returns
LightBuilder This builder.

influenceBitMask

LightBuilder influenceBitMask (int bitMask)

Refer to setInfluenceBitMask(int).

Parameters
bitMask int

Returns
LightBuilder

intensity

LightBuilder intensity (float intensity)

Refer to setInfluenceBitMask(int).

Parameters
intensity float

Returns
LightBuilder This builder.

temperature

LightBuilder temperature (float temperature)

Refer to LightsetTemperature(float).

Parameters
temperature float

Returns
LightBuilder This builder.

Hooray!