public interface R2LightSphericalSingleWritableType extends R2LightSphericalWritableType, R2LightVolumeSingleWritableType
Modifier and Type | Method and Description |
---|---|
void |
setGeometryScaleFactor(double f)
Set the geometry scale factor.
|
void |
setOriginPosition(com.io7m.jtensors.core.parameterized.vectors.PVector3D<R2SpaceWorldType> p)
Set the origin position of the light.
|
setFalloff, setRadius
setColor, setIntensity
void setOriginPosition(com.io7m.jtensors.core.parameterized.vectors.PVector3D<R2SpaceWorldType> p)
p
- The position of the origin of the light in world-spacevoid setGeometryScaleFactor(double f)
R2LightSphericalReadableType.radius()
* f
. This is used to artificially enlarge the light volume to
account for, for example, the fact that a low-polygon approximation of a
sphere will typically have a smaller volume than a real sphere would.f
- The scale factorCopyright © 2017 <code@io7m.com> http://io7m.com