C# Class Nez.LineRenderer.Segment

helper class used to store some data when calculating verts
Show file Open project: prime31/Nez

Public Properties

Property Type Description
angle float
fusedPoint Microsoft.Xna.Framework.Vector2
hasFusedPoint bool
nextPoint SegmentPoint
point SegmentPoint
shouldFuseBottom bool
tl Microsoft.Xna.Framework.Vector2

Public Methods

Method Description
cloneFrom ( Segment &segment ) : void
setFusedData ( bool shouldFuseBottom, Segment &segment ) : void
setPoints ( SegmentPoint &point, SegmentPoint &nextPoint ) : void

Method Details

cloneFrom() public method

public cloneFrom ( Segment &segment ) : void
segment Segment
return void

setFusedData() public method

public setFusedData ( bool shouldFuseBottom, Segment &segment ) : void
shouldFuseBottom bool
segment Segment
return void

setPoints() public method

public setPoints ( SegmentPoint &point, SegmentPoint &nextPoint ) : void
point SegmentPoint
nextPoint SegmentPoint
return void

Property Details

angle public property

public float angle
return float

fusedPoint public property

public Vector2,Microsoft.Xna.Framework fusedPoint
return Microsoft.Xna.Framework.Vector2

hasFusedPoint public property

public bool hasFusedPoint
return bool

nextPoint public property

public SegmentPoint nextPoint
return SegmentPoint

point public property

public SegmentPoint point
return SegmentPoint

shouldFuseBottom public property

public bool shouldFuseBottom
return bool

tl public property

public Vector2,Microsoft.Xna.Framework tl
return Microsoft.Xna.Framework.Vector2