C# Class Nez.Farseer.FSPolygonBody

Inheritance: FSRenderableBody
Mostra file Open project: prime31/Nez

Protected Properties

Property Type Description
_verts Vertices

Public Methods

Method Description
FSPolygonBody ( Subtexture subtexture, List verts ) : System.Collections.Generic
initialize ( ) : void
onEntityTransformChanged ( Transform comp ) : void

Method Details

FSPolygonBody() public method

public FSPolygonBody ( Subtexture subtexture, List verts ) : System.Collections.Generic
subtexture Nez.Textures.Subtexture
verts List
return System.Collections.Generic

initialize() public method

public initialize ( ) : void
return void

onEntityTransformChanged() public method

public onEntityTransformChanged ( Transform comp ) : void
comp Transform
return void

Property Details

_verts protected_oe property

verts are stored in display units. We convert to sim units if the Transform.scale changes.
protected Vertices _verts
return Vertices