com.uwsoft.editor.renderer.components.light.LightObjectComponent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of overlap2d-runtime-libgdx Show documentation
Show all versions of overlap2d-runtime-libgdx Show documentation
overlap2d-runtime-libgdx provides functionality to load, manipulate and render scenes generated by Overlap2D.
The newest version!
package com.uwsoft.editor.renderer.components.light;
import box2dLight.Light;
import com.badlogic.ashley.core.Component;
import com.uwsoft.editor.renderer.data.LightVO.LightType;
import com.uwsoft.editor.renderer.physics.PhysicsBodyLoader;
public class LightObjectComponent implements Component {
private LightType type;
public LightObjectComponent(LightType type) {
this.type = type;
}
public int rays = 12;
public float distance = 300;
public float directionDegree = 0;
public float coneDegree = 30;
public float softnessLength = 1f;
public boolean isStatic = true;
public boolean isXRay = true;
public Light lightObject = null;
public LightType getType(){
return type;
}
}