Interface PositionedLight<T extends PositionedLight<T>>
- Type Parameters:
T- The type of light to return in setters
- All Known Subinterfaces:
IndirectLight<T>
- All Known Implementing Classes:
AreaLight,PointLight
public interface PositionedLight<T extends PositionedLight<T>>
A light in the renderer that has a position
-
Method Summary
Modifier and TypeMethodDescriptionorg.joml.Vector3dsetPosition(double x, double y, double z) Sets the origin position of this light.default TsetPosition(org.joml.Vector3dc position) Sets the origin position of this light.
-
Method Details
-
getPosition
org.joml.Vector3d getPosition()- Returns:
- The position of this light
-
setPosition
Sets the origin position of this light.- Parameters:
position- The position of the light
-
setPosition
Sets the origin position of this light.- Parameters:
x- The x position of the lighty- The y position of the lightz- The z position of the light
-