Modifier and Type | Method and Description |
---|---|
LightType |
Light.getLightType()
Gets the light's type
|
static LightType |
LightType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LightType[] |
LightType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Light.setLightType(LightType value)
Sets the light's type
|
Constructor and Description |
---|
Light(String name,
LightType type)
Initializes a new instance of the
Light class. |
Copyright © 2018. All rights reserved.