C# Class GLSharp.Content.MeshItem

Mesh item which will reside inside a collection.
Inheritance: ResourceItem
ファイルを表示 Open project: colin-dumitru/GLSharp Class Usage Examples

Public Properties

Property Type Description
BoundingVolume GLSharp.Util.VertexBoundingVolume
IndexBuffer IBuffer
Indexes ushort[]
Mesh float[]
MeshBuffer IBuffer
OffsetNormal int
OffsetPosition int
OffsetUv int

Public Methods

Method Description
ComputeBoundingVolume ( ) : void
Free ( ) : System.Boolean
MeshItem ( IGraphics graphics ) : System
Readlocate ( ) : System.Boolean

Method Details

ComputeBoundingVolume() public method

public ComputeBoundingVolume ( ) : void
return void

Free() public method

public Free ( ) : System.Boolean
return System.Boolean

MeshItem() public method

public MeshItem ( IGraphics graphics ) : System
graphics IGraphics
return System

Readlocate() public method

public Readlocate ( ) : System.Boolean
return System.Boolean

Property Details

BoundingVolume public_oe property

public VertexBoundingVolume,GLSharp.Util BoundingVolume
return GLSharp.Util.VertexBoundingVolume

IndexBuffer public_oe property

Index buffer.
public IBuffer IndexBuffer
return IBuffer

Indexes public_oe property

public ushort[] Indexes
return ushort[]

Mesh public_oe property

public float[] Mesh
return float[]

MeshBuffer public_oe property

Contains both Position - Normal - Uv data (in this order)
public IBuffer MeshBuffer
return IBuffer

OffsetNormal public_oe property

public int OffsetNormal
return int

OffsetPosition public_oe property

public int OffsetPosition
return int

OffsetUv public_oe property

public int OffsetUv
return int