Most visited

Recently visited

OmniLight.OmniLightBuilder

public static class OmniLight.OmniLightBuilder
extends Object

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


Builder for creating OmniLight objects.

Summary

Public constructors

OmniLight.OmniLightBuilder()

Constructor for OmniLightBuilder.

Public methods

OmniLightBuilder attenuationEndDistance(float attenuationEndDistance)

Refer to setAttenuationEndDistance(float).

OmniLightBuilder attenuationStartDistance(float attenuationStartDistance)

Refer to setAttenuationStartDistance(float).

OmniLightBuilder position(Vector position)

Refer to setPosition(Vector)

Public constructors

OmniLight.OmniLightBuilder

OmniLight.OmniLightBuilder ()

Constructor for OmniLightBuilder.

Public methods

attenuationEndDistance

OmniLightBuilder attenuationEndDistance (float attenuationEndDistance)

Refer to setAttenuationEndDistance(float).

Parameters
attenuationEndDistance float

Returns
OmniLightBuilder This builder.

attenuationStartDistance

OmniLightBuilder attenuationStartDistance (float attenuationStartDistance)

Refer to setAttenuationStartDistance(float).

Parameters
attenuationStartDistance float

Returns
OmniLightBuilder This builder.

position

OmniLightBuilder position (Vector position)

Refer to setPosition(Vector)

Parameters
position Vector

Returns
OmniLightBuilder

Hooray!