Property | Type | Description | |
---|---|---|---|
ClearBuffers | void | ||
CopyTo | Assimp.Vector3D[] | ||
GetUnsignedIndices | uint[] | ||
IMarshalable | void | ||
IMarshalable | void |
Method | Description | |
---|---|---|
FreeNative ( IntPtr nativeValue, bool freeNative ) : void |
Frees unmanaged memory created by IMarshalable{Mesh, AiMesh}.ToNative.
|
|
GetIndices ( ) : int[] |
Convienence method for accumulating all face indices into a single index array.
|
|
GetShortIndices ( ) : short[] |
Convienence method for accumulating all face indices into a single index array.
|
|
HasTextureCoords ( int channelIndex ) : bool |
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.
|
|
HasVertexColors ( int channelIndex ) : bool |
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.
|
|
Mesh ( ) : Assimp.Unmanaged |
Constructs a new instance of the Mesh class.
|
|
Mesh ( PrimitiveType primType ) : Assimp.Unmanaged |
Constructs a new instance of the Mesh class.
|
|
Mesh ( String name ) : Assimp.Unmanaged |
Constructs a new instance of the Mesh class.
|
|
Mesh ( String name, PrimitiveType primType ) : Assimp.Unmanaged |
Constructs a new instance of the Mesh class.
|
|
SetIndices ( Array indices, int indicesPerFace ) : bool |
Convienence method for setting this meshe's face list from an index buffer.
|
Method | Description | |
---|---|---|
ClearBuffers ( ) : void | ||
CopyTo ( List list, Array copy ) : Assimp.Vector3D[] | ||
GetUnsignedIndices ( ) : uint[] | ||
IMarshalable ( &nativeValue ) : void |
Reads the unmanaged data from the native value.
|
|
IMarshalable ( IntPtr thisPtr, &nativeValue ) : void |
Writes the managed data to the native value.
|
public static FreeNative ( IntPtr nativeValue, bool freeNative ) : void | ||
nativeValue | IntPtr | Native value to free |
freeNative | bool | True if the unmanaged memory should be freed, false otherwise. |
return | void |
public HasTextureCoords ( int channelIndex ) : bool | ||
channelIndex | int | Channel index |
return | bool |
public HasVertexColors ( int channelIndex ) : bool | ||
channelIndex | int | Channel index |
return | bool |
public Mesh ( PrimitiveType primType ) : Assimp.Unmanaged | ||
primType | PrimitiveType | Primitive types contained in the mesh. |
return | Assimp.Unmanaged |
public Mesh ( String name ) : Assimp.Unmanaged | ||
name | String | Name of the mesh. |
return | Assimp.Unmanaged |
public Mesh ( String name, PrimitiveType primType ) : Assimp.Unmanaged | ||
name | String | Name of the mesh |
primType | PrimitiveType | Primitive types contained in the mesh. |
return | Assimp.Unmanaged |
public SetIndices ( Array indices, int indicesPerFace ) : bool | ||
indices | Array | Index buffer |
indicesPerFace | int | Indices per face |
return | bool |