Class RtLight
java.lang.Object
one.empty3.library.core.raytracer.RtNode
one.empty3.library.core.raytracer.RtLight
- Direct Known Subclasses:
RtPointLight
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()abstract RtColorgetLightAt(Point3D normal, Point3D intersectionPoint, RtMatiere material) intgetType()voidsetIntensite(int intensite) Methods inherited from class one.empty3.library.core.raytracer.RtNode
getName, getNodeInstance, getNodeType, intersectsNode, setName, setNodeType
-
Field Details
-
mDiffuseColor
protected float mDiffuseColor -
mSpecularColor
protected float mSpecularColor -
mPosition
-
mColor
-
mLightType
protected int mLightType -
mIntensite
protected double mIntensite
-
-
Constructor Details
-
RtLight
-
RtLight
-
-
Method Details
-
getPosition
-
getColor
-
getType
public int getType() -
getLightAt
-
setIntensite
public void setIntensite(int intensite)
-