Class LightData
java.lang.Object
dev.engine.core.scene.light.LightData
A light is a typed property bag. Standard properties are defined as constants,
but users can add any custom properties for custom light types.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PropertyKey<LightData, Boolean> static final PropertyKey<LightData, Vec3> static final PropertyKey<LightData, Vec3> static final PropertyKey<LightData, Float> static final PropertyKey<LightData, Float> static final PropertyKey<LightData, Float> static final PropertyKey<LightData, Vec3> static final PropertyKey<LightData, Float> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Tget(PropertyKey<LightData, T> key) booleanhas(PropertyKey<LightData, ?> key) <T> voidset(PropertyKey<LightData, T> key, T value) type()
-
Field Details
-
COLOR
-
INTENSITY
-
DIRECTION
-
POSITION
-
RADIUS
-
INNER_ANGLE
-
OUTER_ANGLE
-
CASTS_SHADOWS
-
-
Constructor Details
-
LightData
-
-
Method Details
-
type
-
set
-
get
-
has
-