C# Class Nez.LineRenderer.Segment

helper class used to store some data when calculating verts
ファイルを表示 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_oe property

public float angle
return float

fusedPoint public_oe property

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

hasFusedPoint public_oe property

public bool hasFusedPoint
return bool

nextPoint public_oe property

public SegmentPoint nextPoint
return SegmentPoint

point public_oe property

public SegmentPoint point
return SegmentPoint

shouldFuseBottom public_oe property

public bool shouldFuseBottom
return bool

tl public_oe property

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