C# Class Krypton.Lights.Light2D

Inheritance: ILight2D
Mostra file Open project: lucas-jones/MilkShake-old Class Usage Examples

Public Methods

Method Description
Draw ( KryptonRenderHelper helper, List hulls ) : void

Draws shadows from the light's position outward

Private Methods

Method Description
IsInRange ( Vector2 offset, float dist ) : bool

Determines if a vector's length is less than a specified value

Method Details

Draw() public method

Draws shadows from the light's position outward
public Draw ( KryptonRenderHelper helper, List hulls ) : void
helper KryptonRenderHelper A render helper for drawing shadows
hulls List The shadow hulls used to draw shadows
return void