C# Class IrrlichtNETCP.MeshBuffer

Inheritance: NativeElement
Show file Open project: Paulus/irrlichtnetcp Class Usage Examples

Public Methods

Method Description
GetIndex ( uint nr ) : ushort
GetVertex ( uint nr ) : Vertex3D
GetVertexT2 ( uint nr ) : Vertex3DT2
MeshBuffer ( IntPtr raw ) : System
MeshBuffer ( VertexType type ) : System
SetIndex ( uint nr, ushort val ) : void
SetVertex ( uint nr, Vertex3D vert ) : void
SetVertexT2 ( uint nr, Vertex3DT2 vert ) : void

Private Methods

Method Description
MeshBuffer_Create ( int type ) : IntPtr
MeshBuffer_GetBoundingBox ( IntPtr meshb, [ bb ) : void
MeshBuffer_GetIndex ( IntPtr meshb, uint nr ) : ushort
MeshBuffer_GetIndexCount ( IntPtr meshb ) : int
MeshBuffer_GetIndices ( IntPtr meshb, [ indices ) : void
MeshBuffer_GetMaterial ( IntPtr meshb ) : IntPtr
MeshBuffer_GetVertex ( IntPtr meshb, uint nr ) : IntPtr
MeshBuffer_GetVertex2T ( IntPtr meshb, uint nr ) : IntPtr
MeshBuffer_GetVertexCount ( IntPtr meshb ) : int
MeshBuffer_GetVertexType ( IntPtr meshb ) : VertexType
MeshBuffer_SetBoundingBox ( IntPtr meshb, float bb ) : void
MeshBuffer_SetIndex ( IntPtr meshb, uint nr, ushort val ) : void
MeshBuffer_SetIndices ( IntPtr meshb, ushort indices, int count ) : void
MeshBuffer_SetMaterial ( IntPtr meshb, IntPtr material ) : void
MeshBuffer_SetVertex ( IntPtr meshb, uint nr, IntPtr vert ) : void
MeshBuffer_SetVertex2T ( IntPtr meshb, uint nr, IntPtr vert ) : void

Method Details

GetIndex() public method

public GetIndex ( uint nr ) : ushort
nr uint
return ushort

GetVertex() public method

public GetVertex ( uint nr ) : Vertex3D
nr uint
return Vertex3D

GetVertexT2() public method

public GetVertexT2 ( uint nr ) : Vertex3DT2
nr uint
return Vertex3DT2

MeshBuffer() public method

public MeshBuffer ( IntPtr raw ) : System
raw System.IntPtr
return System

MeshBuffer() public method

public MeshBuffer ( VertexType type ) : System
type VertexType
return System

SetIndex() public method

public SetIndex ( uint nr, ushort val ) : void
nr uint
val ushort
return void

SetVertex() public method

public SetVertex ( uint nr, Vertex3D vert ) : void
nr uint
vert Vertex3D
return void

SetVertexT2() public method

public SetVertexT2 ( uint nr, Vertex3DT2 vert ) : void
nr uint
vert Vertex3DT2
return void