@EqualityReference public final class KLightProjectiveWithoutShadow extends Object implements KLightProjectiveType
A projective light without a shadow.
Modifier and Type | Method and Description |
---|---|
<A,E extends Throwable,V extends KLightVisitorType<A,E>> |
lightAccept(V v)
Be visited by the given generic visitor.
|
String |
lightGetCode() |
com.io7m.jtensors.parameterized.PVectorI3F<RSpaceRGBType> |
lightGetColor() |
float |
lightGetIntensity() |
KTransformType |
lightGetTransform() |
float |
lightProjectiveGetFalloff() |
float |
lightProjectiveGetFalloffInverse() |
com.io7m.jtensors.QuaternionI4F |
lightProjectiveGetOrientation() |
com.io7m.jtensors.parameterized.PVectorI3F<RSpaceWorldType> |
lightProjectiveGetPosition() |
KProjectionType |
lightProjectiveGetProjection() |
float |
lightProjectiveGetRange() |
float |
lightProjectiveGetRangeInverse() |
com.io7m.jcanephora.Texture2DStaticUsableType |
lightProjectiveGetTexture() |
static KLightProjectiveWithoutShadowBuilderType |
newBuilder(com.io7m.jcanephora.Texture2DStaticUsableType in_texture,
KProjectionType in_projection)
Create a builder for creating new projective lights.
|
<A,E extends Throwable,V extends KLightProjectiveVisitorType<A,E>> |
projectiveAccept(V v)
Be visited by the given generic visitor.
|
int |
texturesGetRequired() |
public static KLightProjectiveWithoutShadowBuilderType newBuilder(com.io7m.jcanephora.Texture2DStaticUsableType in_texture, KProjectionType in_projection)
Create a builder for creating new projective lights.
in_texture
- The texture.in_projection
- The projection.public <A,E extends Throwable,V extends KLightVisitorType<A,E>> A lightAccept(V v) throws E extends Throwable, RException, com.io7m.jcanephora.JCGLException
KLightType
lightAccept
in interface KLightType
A
- The return type of the visitorE
- The type of exceptions raised by the visitorV
- A specific visitor subtypev
- The visitorE
- Iff the visitor raises E
RException
- Iff the visitor raises RException
com.io7m.jcanephora.JCGLException
- Iff the visitor raises JCGLException
.E extends Throwable
public String lightGetCode()
lightGetCode
in interface KLightType
public com.io7m.jtensors.parameterized.PVectorI3F<RSpaceRGBType> lightGetColor()
lightGetColor
in interface KLightPropertiesType
public float lightGetIntensity()
lightGetIntensity
in interface KLightPropertiesType
public KTransformType lightGetTransform()
lightGetTransform
in interface KLightWithTransformType
public float lightProjectiveGetFalloff()
lightProjectiveGetFalloff
in interface KLightProjectiveType
public float lightProjectiveGetFalloffInverse()
lightProjectiveGetFalloffInverse
in interface KLightProjectiveType
KLightProjectiveType.lightProjectiveGetFalloff()
).public com.io7m.jtensors.QuaternionI4F lightProjectiveGetOrientation()
lightProjectiveGetOrientation
in interface KLightProjectiveType
public com.io7m.jtensors.parameterized.PVectorI3F<RSpaceWorldType> lightProjectiveGetPosition()
lightProjectiveGetPosition
in interface KLightProjectiveType
public KProjectionType lightProjectiveGetProjection()
lightProjectiveGetProjection
in interface KLightProjectiveType
public float lightProjectiveGetRange()
lightProjectiveGetRange
in interface KLightProjectiveType
public float lightProjectiveGetRangeInverse()
lightProjectiveGetRangeInverse
in interface KLightProjectiveType
KLightProjectiveType.lightProjectiveGetRange()
)public com.io7m.jcanephora.Texture2DStaticUsableType lightProjectiveGetTexture()
lightProjectiveGetTexture
in interface KLightProjectiveType
public <A,E extends Throwable,V extends KLightProjectiveVisitorType<A,E>> A projectiveAccept(V v) throws RException, E extends Throwable
KLightProjectiveType
projectiveAccept
in interface KLightProjectiveType
A
- The return type of the visitorE
- The type of exceptions raised by the visitorV
- A specific visitor subtypev
- The visitorRException
- Iff the visitor raises RException
E
- Iff the visitor raises E
E extends Throwable
public int texturesGetRequired()
texturesGetRequired
in interface KTexturesRequiredType
Copyright © 2015 <code@io7m.com> http://io7m.com