Click or drag to resize

Mesh Methods

The Mesh type exposes the following members.

Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberFreeNative Frees unmanaged memory created by ToNative(IntPtr, Native).
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetIndices Convenience method for accumulating all face indices into a single index array.
Public methodGetShortIndices Convenience method for accumulating all face indices into a single index array.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetUnsignedIndices Convenience method for accumulating all face indices into a single index array as unsigned integers (the default from Assimp, if you need them).
Public methodHasTextureCoords Checks if the mesh has texture coordinates for the specified channel. This returns false if the list is null or empty. The channel, if it exists, should contain the same number of entries as VertexCount.
Public methodHasVertexColors Checks if the mesh has vertex colors for the specified channel. This returns false if the list is null or empty. The channel, if it exists, should contain the same number of entries as VertexCount.
Public methodSetIndices Convienence method for setting this meshe's face list from an index buffer.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also