public abstract class SAbstractLight extends SAbstractReadableWriteable implements SLight
Modifier and Type | Field and Description |
---|---|
static int |
AMBIENT_LIGHT_CODE |
static int |
APERTURE_MASK_LIGHT_CODE |
static int |
DIRECTIONAL_LIGHT_CODE |
static int |
ELLIPTICAL_APERTURE_LIGHT_CODE |
static int |
LINEAR_APERTURE_LIGHT_CODE |
static int |
POINT_LIGHT_CODE |
static int |
RECTANGULAR_APERTURE_LIGHT_CODE |
Constructor and Description |
---|
SAbstractLight()
Constructeur d'une source de lumière blanche abstraite.
|
SAbstractLight(SColor color)
Constructeur d'une source de lumière abstraite.
|
Modifier and Type | Method and Description |
---|---|
SColor |
getColor()
Méthode pour obtenir la couleur de la source de lumière.
|
java.lang.String[] |
getReadableParameterName()
Méthode pour obtenir un tableau des mots clés permettant de définir les paramètres de l'objet implémentant l'interface SReadable lors de sa lecture.
|
write
read
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCodeName
write
getReadableName
public static final int AMBIENT_LIGHT_CODE
public static final int POINT_LIGHT_CODE
public static final int DIRECTIONAL_LIGHT_CODE
public static final int LINEAR_APERTURE_LIGHT_CODE
public static final int RECTANGULAR_APERTURE_LIGHT_CODE
public static final int ELLIPTICAL_APERTURE_LIGHT_CODE
public static final int APERTURE_MASK_LIGHT_CODE
public SAbstractLight()
public SAbstractLight(SColor color) throws SConstructorException
color
- - La couleur de la source de lumière.SConstructorException
- Si une erreur est survenue lors de la construction.public SColor getColor()
SLight
public java.lang.String[] getReadableParameterName()
SReadable
getReadableParameterName
in interface SReadable
getReadableParameterName
in class SAbstractReadable