1
2
3
4
5 package cz.cuni.amis.pogamut.udk.t3dgenerator.elements.map;
6
7 import cz.cuni.amis.pogamut.unreal.t3dgenerator.datatypes.LightmassPointLightSettings;
8
9
10
11
12
13
14 public class PointLightComponent extends AbstractPrimitiveComponent {
15
16 public static final String CLASSNAME = "PointLightComponent";
17 private LightmassPointLightSettings lightmassSettings;
18 private Float falloffExponent;
19 private Float minShadowFalloffRadius;
20 private Float radius;
21 private Float shadowFalloffExponent;
22 private Float shadowRadiusMultiplier;
23
24 public PointLightComponent(String componentName, float radius) {
25 this(componentName,getDefaultArchetype(CLASSNAME), radius);
26 }
27
28 public PointLightComponent(String componentName, String archetypeName, float radius) {
29 super(componentName, archetypeName, CLASSNAME);
30 this.radius = radius;
31 }
32
33 public Float getFalloffExponent() {
34 return falloffExponent;
35 }
36
37 public LightmassPointLightSettings getLightmassSettings() {
38 return lightmassSettings;
39 }
40
41 public Float getMinShadowFalloffRadius() {
42 return minShadowFalloffRadius;
43 }
44
45 public Float getRadius() {
46 return radius;
47 }
48
49 public Float getShadowFalloffExponent() {
50 return shadowFalloffExponent;
51 }
52
53 public Float getShadowRadiusMultiplier() {
54 return shadowRadiusMultiplier;
55 }
56
57
58 }