3rd Eye Scene C#
3rd Eye Scene C# documentation
Tes::Net::MeshCreateMessage Struct Reference

Message used to define a new mesh resource. More...

List of all members.

Public Member Functions

bool Read (BinaryReader reader)
 Read the message from the given reader .
bool Write (PacketBuffer packet)
 Write this message to packet .

Public Attributes

uint MeshID
 The mesh resource ID.
uint VertexCount
 The number of vertices in the mesh.
uint IndexCount
 The number of mesh indices.
byte DrawType
 Defines the topology.
ObjectAttributes Attributes
 Defines a local pivot for the vertices and default mesh colour.

Properties

static ushort MessageID [get]
 MeshMessageType for this message.

Detailed Description

Message used to define a new mesh resource.


Member Function Documentation

bool Tes::Net::MeshCreateMessage::Read ( BinaryReader  reader) [inline]

Read the message from the given reader .

Parameters:
readerThe reader to read from.
Returns:
True
bool Tes::Net::MeshCreateMessage::Write ( PacketBuffer  packet) [inline]

Write this message to packet .

Parameters:
packetThe packet to write to.
Returns:
True

Member Data Documentation

Defines the topology.

See MeshDrawType.

The mesh resource ID.

Unique among mesh resources.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties Events