@EqualityReference public final class KLightSpherePseudoWithShadowVariance extends Object implements KLightSpherePseudoType
A shadow-projecting pseudo-spherical light emulated with six projective lights.
public static KLightSpherePseudoWithShadowVarianceBuilderType newBuilder()
Create a builder for creating new pseudo-spherical lights.
public com.io7m.jfunctional.OptionType<KLightProjectiveWithShadowVarianceType> getNegativeX()
public com.io7m.jfunctional.OptionType<KLightProjectiveWithShadowVarianceType> getNegativeY()
public com.io7m.jfunctional.OptionType<KLightProjectiveWithShadowVarianceType> getNegativeZ()
public com.io7m.jfunctional.OptionType<KLightProjectiveWithShadowVarianceType> getPositiveX()
public com.io7m.jfunctional.OptionType<KLightProjectiveWithShadowVarianceType> getPositiveY()
public com.io7m.jfunctional.OptionType<KLightProjectiveWithShadowVarianceType> getPositiveZ()
public KShadowMappedVariance getShadow()
public com.io7m.jtensors.parameterized.PVectorI3F<RSpaceRGBType> lightGetColor()
lightGetColor
in interface KLightPropertiesType
public float lightGetFalloff()
lightGetFalloff
in interface KLightSpherePropertiesType
public float lightGetFalloffInverse()
lightGetFalloffInverse
in interface KLightSpherePropertiesType
KLightSpherePropertiesType.lightGetFalloff()
).public float lightGetIntensity()
lightGetIntensity
in interface KLightPropertiesType
public com.io7m.jtensors.parameterized.PVectorI3F<RSpaceWorldType> lightGetPosition()
lightGetPosition
in interface KLightSpherePropertiesType
public float lightGetRadius()
lightGetRadius
in interface KLightSpherePropertiesType
public float lightGetRadiusInverse()
lightGetRadiusInverse
in interface KLightSpherePropertiesType
KLightSpherePropertiesType.lightGetRadius()
).public <A,E extends Throwable> A spherePseudoAccept(KLightSpherePseudoVisitorType<A,E> v) throws RException, E extends Throwable
KLightSpherePseudoType
spherePseudoAccept
in interface KLightSpherePseudoType
A
- The return type of the visitorE
- The type of exceptions raised by the visitorv
- The visitorRException
- Iff the visitor raises RException
E
- Iff the visitor raises E
E extends Throwable
Copyright © 2015 <code@io7m.com> http://io7m.com