public interface KLightProjectiveType extends KLightWithTransformType
The type of projective lights.
A projective light "projects" a texture into a scene from a given position, according to the given projection matrix. The texture projected is multiplied by the given color and attenuated according to the given range and falloff values.
Specific types of projective light may cast shadows using a variety of shadow mapping techniques.
Modifier and Type | Method and Description |
---|---|
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() |
<A,E extends Throwable,V extends KLightProjectiveVisitorType<A,E>> |
projectiveAccept(V v)
Be visited by the given generic visitor.
|
lightGetTransform
lightAccept, lightGetCode
texturesGetRequired
lightGetColor, lightGetIntensity
float lightProjectiveGetFalloff()
float lightProjectiveGetFalloffInverse()
lightProjectiveGetFalloff()
).com.io7m.jtensors.QuaternionI4F lightProjectiveGetOrientation()
com.io7m.jtensors.parameterized.PVectorI3F<RSpaceWorldType> lightProjectiveGetPosition()
KProjectionType lightProjectiveGetProjection()
float lightProjectiveGetRange()
float lightProjectiveGetRangeInverse()
lightProjectiveGetRange()
)com.io7m.jcanephora.Texture2DStaticUsableType lightProjectiveGetTexture()
<A,E extends Throwable,V extends KLightProjectiveVisitorType<A,E>> A projectiveAccept(V v) throws RException, E extends Throwable
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
Copyright © 2015 <code@io7m.com> http://io7m.com