C# Class Nez.GeometricPrimitive3D

Inheritance: Renderable3D, IDisposable
Show file Open project: prime31/Nez

Protected Properties

Property Type Description
_indices List
_vertices List

Public Methods

Method Description
Dispose ( ) : void

frees resources used by this object.

onAddedToEntity ( ) : void
render ( Graphics graphics, Camera camera ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

frees resources used by this object.

addIndex ( int index ) : void
addVertex ( Vector3 position, Color color, Vector3 normal ) : void
initializePrimitive ( ) : void

Method Details

Dispose() public method

frees resources used by this object.
public Dispose ( ) : void
return void

Dispose() protected method

frees resources used by this object.
protected Dispose ( bool disposing ) : void
disposing bool
return void

addIndex() protected method

protected addIndex ( int index ) : void
index int
return void

addVertex() protected method

protected addVertex ( Vector3 position, Color color, Vector3 normal ) : void
position Vector3
color Color
normal Vector3
return void

initializePrimitive() protected method

protected initializePrimitive ( ) : void
return void

onAddedToEntity() public method

public onAddedToEntity ( ) : void
return void

render() public method

public render ( Graphics graphics, Camera camera ) : void
graphics Graphics
camera Camera
return void

Property Details

_indices protected property

protected List _indices
return List

_vertices protected property

protected List _vertices
return List