public final class R2LightProjectiveWithoutShadow extends Object implements R2LightProjectiveWithoutShadowType
| Modifier and Type | Method and Description |
|---|---|
com.io7m.jcanephora.core.JCGLArrayObjectUsableType |
arrayObject() |
com.io7m.jtensors.parameterized.PVectorReadable3FType<R2SpaceRGBType> |
color() |
com.io7m.jtensors.parameterized.PVector3FType<R2SpaceRGBType> |
colorWritable() |
float |
falloff() |
R2Texture2DUsableType |
image() |
float |
intensity() |
long |
lightID() |
static R2LightProjectiveWithoutShadowType |
newLight(R2ProjectionMeshReadableType in_mesh,
R2Texture2DUsableType in_image,
R2IDPoolType in_pool)
Construct a new light.
|
com.io7m.jtensors.parameterized.PVectorReadable3FType<R2SpaceWorldType> |
position() |
R2ProjectionReadableType |
projection() |
float |
radius() |
void |
setFalloff(float f)
Set the light falloff exponent
|
void |
setIntensity(float i)
Set the current light intensity
|
void |
setRadius(float r)
Set the light radius in world-space units.
|
R2TransformOTReadableType |
transform() |
R2TransformOTType |
transformWritable() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmatchLightVolumeSingleReadable, matchProjectiveReadablematchLightSinglematchProjectiveReadablepublic static R2LightProjectiveWithoutShadowType newLight(R2ProjectionMeshReadableType in_mesh, R2Texture2DUsableType in_image, R2IDPoolType in_pool)
in_mesh - The light projection meshin_image - The image that will be projected by the lightin_pool - The ID poolpublic float radius()
radius in interface R2LightProjectiveReadableTypepublic void setRadius(float r)
R2LightProjectiveWritableTypesetRadius in interface R2LightProjectiveWritableTyper - The light radiuspublic R2TransformOTType transformWritable()
transformWritable in interface R2LightProjectiveWritableTypepublic float falloff()
falloff in interface R2LightProjectiveReadableTypepublic void setFalloff(float f)
R2LightProjectiveWritableTypesetFalloff in interface R2LightProjectiveWritableTypef - The light falloffpublic com.io7m.jtensors.parameterized.PVectorReadable3FType<R2SpaceRGBType> color()
color in interface R2LightReadableTypepublic float intensity()
intensity in interface R2LightReadableTypepublic void setIntensity(float i)
R2LightWritableTypesetIntensity in interface R2LightWritableTypei - The intensity (typically [0.0 .. 1.0])public com.io7m.jtensors.parameterized.PVector3FType<R2SpaceRGBType> colorWritable()
colorWritable in interface R2LightWritableTypepublic com.io7m.jcanephora.core.JCGLArrayObjectUsableType arrayObject()
arrayObject in interface R2LightSingleReadableTypepublic R2TransformOTReadableType transform()
transform in interface R2LightProjectiveReadableTypetransform in interface R2LightSingleReadableTypepublic com.io7m.jtensors.parameterized.PVectorReadable3FType<R2SpaceWorldType> position()
position in interface R2LightProjectiveReadableTypepublic long lightID()
lightID in interface R2LightReadableTypepublic R2ProjectionReadableType projection()
projection in interface R2LightProjectiveReadableTypepublic R2Texture2DUsableType image()
image in interface R2LightProjectiveReadableTypeCopyright © 2017 <code@io7m.com> http://io7m.com