Zdexby TheHolyOneZ
44,741 classes
Class

Mesh

: Object : Object
UnityEngine.Mesh, UnityEngine.CoreModule 0x0018 (24 B) inherited 0x0018 UnityEngine.CoreModule.dll
0x00x0018

Members 0

OffsetSizeNameTypeFlagsDefault
No reflected members.
Inherited from Object 4
OffsetSizeNameTypeFlagsDefault
0x08m_CachedPtrlongPrivate—
0x04OffsetOfInstanceIDInCPlusPlusObjectintStatic+1 flags—
—0x08objectIsNullMessagestringPrivateStatic+1 flags—
—0x08cloneDestroyedMessagestringPrivateStatic+1 flags—

Functions 165

SignatureFlagsNativeParams
void Internal_Create(Mesh mono)PrivateStatic0x08
void .ctor()Public+1 flags0x00
IndexFormat get_indexFormat()Public+1 flags0x04
void set_indexFormat(const IndexFormat& value)Public+1 flags0x04
void SetIndexBufferParams(int indexCount, const IndexFormat& format)Public0x04
void InternalSetIndexBufferDataFromArray(Array data, int dataStart, int meshBufferStart, int count, int elemSize, const MeshUpdateFlags& flags)Private0x08
void SetVertexBufferParamsFromArray(int vertexCount, const VertexAttributeDescriptor[]& attributes)Private0x08
void InternalSetVertexBufferData(int stream, long data, int dataStart, int meshBufferStart, int count, int elemSize, const MeshUpdateFlags& flags)Private0x08
void InternalSetVertexBufferDataFromArray(int stream, Array data, int dataStart, int meshBufferStart, int count, int elemSize, const MeshUpdateFlags& flags)Private0x08
uint GetIndexStartImpl(int submesh)Private0x04
uint GetIndexCountImpl(int submesh)Private0x04
uint GetBaseVertexImpl(int submesh)Private0x04
int[] GetTrianglesImpl(int submesh, bool applyBaseVertex)Private0x08
int[] GetIndicesImpl(int submesh, bool applyBaseVertex)Private0x08
void SetIndicesImpl(int submesh, const MeshTopology& topology, const IndexFormat& indicesFormat, Array indices, int arrayStart, int arraySize, bool calculateBounds, int baseVertex)Private0x08
void SetIndicesNativeArrayImpl(int submesh, const MeshTopology& topology, const IndexFormat& indicesFormat, long indices, int arrayStart, int arraySize, bool calculateBounds, int baseVertex)Private0x08
void PrintErrorCantAccessChannel(const VertexAttribute& ch)Private0x04
bool HasVertexAttribute(const VertexAttribute& attr)Public0x04
VertexAttributeFormat GetVertexAttributeFormat(const VertexAttribute& attr)Public0x04
int GetVertexAttributeStream(const VertexAttribute& attr)Public0x04
int GetVertexAttributeOffset(const VertexAttribute& attr)Public0x04
void SetArrayForChannelImpl(const VertexAttribute& channel, const VertexAttributeFormat& format, int dim, Array values, int arraySize, int valuesStart, int valuesCount, const MeshUpdateFlags& flags)Private0x08
Array GetAllocArrayFromChannelImpl(const VertexAttribute& channel, const VertexAttributeFormat& format, int dim)Private0x08
void GetArrayFromChannelImpl(const VertexAttribute& channel, const VertexAttributeFormat& format, int dim, Array values)Private0x08
GraphicsBuffer GetVertexBufferImpl(int index)Private0x08
GraphicsBuffer GetIndexBufferImpl()Private0x08
Target get_vertexBufferTarget()Public+1 flags0x04
void set_vertexBufferTarget(const Target& value)Public+1 flags0x04
Target get_indexBufferTarget()Public+1 flags0x04
void set_indexBufferTarget(const Target& value)Public+1 flags0x04
int get_blendShapeCount()Public+1 flags0x04
bool get_isReadable()Public+1 flags0x01
bool get_canAccess()2 flags0x01
int get_vertexCount()Public+1 flags0x04
int get_subMeshCount()Public+1 flags0x04
void set_subMeshCount(int value)Public+1 flags0x04
void SetSubMesh(int index, const SubMeshDescriptor& desc, const MeshUpdateFlags& flags)Public0x30
SubMeshDescriptor GetSubMesh(int index)Public0x30
Bounds get_bounds()Public+1 flags0x18
void set_bounds(const Bounds& value)Public+1 flags0x18
void ClearImpl(bool keepVertexLayout)Private0x01
void RecalculateBoundsImpl(const MeshUpdateFlags& flags)Private0x04
void RecalculateNormalsImpl(const MeshUpdateFlags& flags)Private0x04
void RecalculateTangentsImpl(const MeshUpdateFlags& flags)Private0x04
void MarkDynamicImpl()Private0x00
void UploadMeshDataImpl(bool markNoLongerReadable)Private0x01
MeshTopology GetTopologyImpl(int submesh)Private0x04
void CombineMeshesImpl(const CombineInstance[]& combine, bool mergeSubMeshes, bool useMatrices, bool hasLightmapData)Private0x08
void OptimizeImpl()Private0x00
VertexAttribute GetUVChannel(int uvIndex)Static+1 flags0x04
int DefaultDimensionForChannel(const VertexAttribute& channel)Static+1 flags0x04
T[] GetAllocArrayFromChannel(const VertexAttribute& channel, const VertexAttributeFormat& format, int dim)Private0x08
T[] GetAllocArrayFromChannel(const VertexAttribute& channel)Private0x08
void SetSizedArrayForChannel(const VertexAttribute& channel, const VertexAttributeFormat& format, int dim, Array values, int valuesArrayLength, int valuesStart, int valuesCount, const MeshUpdateFlags& flags)Private0x08
void SetArrayForChannel(const VertexAttribute& channel, const VertexAttributeFormat& format, int dim, const T[]& values, const MeshUpdateFlags& flags)Private0x08
void SetArrayForChannel(const VertexAttribute& channel, const T[]& values, const MeshUpdateFlags& flags)Private0x08
void SetListForChannel(const VertexAttribute& channel, const VertexAttributeFormat& format, int dim, List<T> values, int start, int length, const MeshUpdateFlags& flags)Private0x08
void SetListForChannel(const VertexAttribute& channel, List<T> values, int start, int length, const MeshUpdateFlags& flags)Private0x08
void GetListForChannel(List<T> buffer, int capacity, const VertexAttribute& channel, int dim)Private0x08
void GetListForChannel(List<T> buffer, int capacity, const VertexAttribute& channel, int dim, const VertexAttributeFormat& channelType)Private0x08
Vector3[] get_vertices()Public+1 flags0x08
void set_vertices(const Vector3[]& value)Public+1 flags0x08
Vector3[] get_normals()Public+1 flags0x08
void set_normals(const Vector3[]& value)Public+1 flags0x08
Vector4[] get_tangents()Public+1 flags0x08
void set_tangents(const Vector4[]& value)Public+1 flags0x08
Vector2[] get_uv()Public+1 flags0x08
void set_uv(const Vector2[]& value)Public+1 flags0x08
Vector2[] get_uv2()Public+1 flags0x08
void set_uv2(const Vector2[]& value)Public+1 flags0x08
void set_colors(const Color[]& value)Public+1 flags0x08
Color32[] get_colors32()Public+1 flags0x08
void set_colors32(const Color32[]& value)Public+1 flags0x08
void SetVertices(List<UnityEngine.Vector3> inVertices)Public0x08
void SetVertices(List<UnityEngine.Vector3> inVertices, int start, int length)Public0x08
void SetVertices(List<UnityEngine.Vector3> inVertices, int start, int length, const MeshUpdateFlags& flags)Public0x08
void SetVertices(const Vector3[]& inVertices, int start, int length)Public0x08
void SetVertices(const Vector3[]& inVertices, int start, int length, const MeshUpdateFlags& flags)Public0x08
void SetNormals(List<UnityEngine.Vector3> inNormals)Public0x08
void SetNormals(List<UnityEngine.Vector3> inNormals, int start, int length)Public0x08
void SetNormals(List<UnityEngine.Vector3> inNormals, int start, int length, const MeshUpdateFlags& flags)Public0x08
void SetNormals(const Vector3[]& inNormals, int start, int length)Public0x08
void SetNormals(const Vector3[]& inNormals, int start, int length, const MeshUpdateFlags& flags)Public0x08
void SetTangents(List<UnityEngine.Vector4> inTangents)Public0x08
void SetTangents(List<UnityEngine.Vector4> inTangents, int start, int length)Public0x08
void SetTangents(List<UnityEngine.Vector4> inTangents, int start, int length, const MeshUpdateFlags& flags)Public0x08
void SetTangents(const Vector4[]& inTangents, int start, int length)Public0x08
void SetTangents(const Vector4[]& inTangents, int start, int length, const MeshUpdateFlags& flags)Public0x08
void SetColors(List<UnityEngine.Color> inColors)Public0x08
void SetColors(List<UnityEngine.Color> inColors, int start, int length)Public0x08
void SetColors(List<UnityEngine.Color> inColors, int start, int length, const MeshUpdateFlags& flags)Public0x08
void SetColors(List<UnityEngine.Color32> inColors)Public0x08
void SetColors(List<UnityEngine.Color32> inColors, int start, int length)Public0x08
void SetColors(List<UnityEngine.Color32> inColors, int start, int length, const MeshUpdateFlags& flags)Public0x08
void SetUvsImpl(int uvIndex, int dim, List<T> uvs, int start, int length, const MeshUpdateFlags& flags)Private0x08
void SetUVs(int channel, List<UnityEngine.Vector2> uvs)Public0x08
void SetUVs(int channel, List<UnityEngine.Vector4> uvs)Public0x08
void SetUVs(int channel, List<UnityEngine.Vector2> uvs, int start, int length)Public0x08
void SetUVs(int channel, List<UnityEngine.Vector2> uvs, int start, int length, const MeshUpdateFlags& flags)Public0x08
void SetUVs(int channel, List<UnityEngine.Vector4> uvs, int start, int length)Public0x08
void SetUVs(int channel, List<UnityEngine.Vector4> uvs, int start, int length, const MeshUpdateFlags& flags)Public0x08
void SetUvsImpl(int uvIndex, int dim, Array uvs, int arrayStart, int arraySize, const MeshUpdateFlags& flags)Private0x08
void SetUVs(int channel, const Vector2[]& uvs)Public0x08
void SetUVs(int channel, const Vector4[]& uvs)Public0x08
void SetUVs(int channel, const Vector2[]& uvs, int start, int length)Public0x08
void SetUVs(int channel, const Vector2[]& uvs, int start, int length, const MeshUpdateFlags& flags)Public0x08
void SetUVs(int channel, const Vector4[]& uvs, int start, int length)Public0x08
void SetUVs(int channel, const Vector4[]& uvs, int start, int length, const MeshUpdateFlags& flags)Public0x08
void GetUVsImpl(int uvIndex, List<T> uvs, int dim)Private0x08
void GetUVs(int channel, List<UnityEngine.Vector4> uvs)Public0x08
void SetVertexBufferParams(int vertexCount, const VertexAttributeDescriptor[]& attributes)Public0x08
void SetVertexBufferData(const NativeArray<T>& data, int dataStart, int meshBufferStart, int count, int stream, const MeshUpdateFlags& flags)Public0x10
void SetVertexBufferData(const T[]& data, int dataStart, int meshBufferStart, int count, int stream, const MeshUpdateFlags& flags)Public0x08
GraphicsBuffer GetVertexBuffer(int index)Public0x08
GraphicsBuffer GetIndexBuffer()Public0x08
void PrintErrorCantAccessIndices()Private0x00
bool CheckCanAccessSubmesh(int submesh, bool errorAboutTriangles)Private0x04
bool CheckCanAccessSubmeshTriangles(int submesh)Private0x04
bool CheckCanAccessSubmeshIndices(int submesh)Private0x04
int[] get_triangles()Public+1 flags0x08
void set_triangles(const int[]& value)Public+1 flags0x08
int[] GetTriangles(int submesh)Public0x08
int[] GetTriangles(int submesh, bool applyBaseVertex)Public0x08
int[] GetIndices(int submesh)Public0x08
int[] GetIndices(int submesh, bool applyBaseVertex)Public0x08
void SetIndexBufferData(const T[]& data, int dataStart, int meshBufferStart, int count, const MeshUpdateFlags& flags)Public0x08
uint GetIndexStart(int submesh)Public0x04
uint GetIndexCount(int submesh)Public0x04
uint GetBaseVertex(int submesh)Public0x04
void CheckIndicesArrayRange(int valuesLength, int start, int length)Private0x04
void SetTrianglesImpl(int submesh, const IndexFormat& indicesFormat, Array triangles, int trianglesArrayLength, int start, int length, bool calculateBounds, int baseVertex)Private0x08
void SetTriangles(const int[]& triangles, int submesh, bool calculateBounds)Public0x08
void SetTriangles(const int[]& triangles, int submesh, bool calculateBounds, int baseVertex)Public0x08
void SetTriangles(const int[]& triangles, int trianglesStart, int trianglesLength, int submesh, bool calculateBounds, int baseVertex)Public0x08
void SetTriangles(List<System.Int32> triangles, int submesh)Public0x08
void SetTriangles(List<System.Int32> triangles, int submesh, bool calculateBounds)Public0x08
void SetTriangles(List<System.Int32> triangles, int submesh, bool calculateBounds, int baseVertex)Public0x08
void SetTriangles(List<System.Int32> triangles, int trianglesStart, int trianglesLength, int submesh, bool calculateBounds, int baseVertex)Public0x08
void SetIndices(const int[]& indices, const MeshTopology& topology, int submesh, bool calculateBounds)Public0x08
void SetIndices(const int[]& indices, const MeshTopology& topology, int submesh, bool calculateBounds, int baseVertex)Public0x08
void SetIndices(const int[]& indices, int indicesStart, int indicesLength, const MeshTopology& topology, int submesh, bool calculateBounds, int baseVertex)Public0x08
void SetIndices(const ushort[]& indices, const MeshTopology& topology, int submesh, bool calculateBounds, int baseVertex)Public0x08
void SetIndices(const ushort[]& indices, int indicesStart, int indicesLength, const MeshTopology& topology, int submesh, bool calculateBounds, int baseVertex)Public0x08
void SetIndices(const NativeArray<T>& indices, const MeshTopology& topology, int submesh, bool calculateBounds, int baseVertex)Public0x10
void SetIndices(const NativeArray<T>& indices, int indicesStart, int indicesLength, const MeshTopology& topology, int submesh, bool calculateBounds, int baseVertex)Public0x10
void SetIndices(List<System.Int32> indices, const MeshTopology& topology, int submesh, bool calculateBounds, int baseVertex)Public0x08
void SetIndices(List<System.Int32> indices, int indicesStart, int indicesLength, const MeshTopology& topology, int submesh, bool calculateBounds, int baseVertex)Public0x08
void Clear()Public0x00
void RecalculateBounds()Public0x00
void RecalculateNormals()Public0x00
void RecalculateTangents()Public0x00
void RecalculateBounds(const MeshUpdateFlags& flags)Public0x04
void RecalculateNormals(const MeshUpdateFlags& flags)Public0x04
void RecalculateTangents(const MeshUpdateFlags& flags)Public0x04
void MarkDynamic()Public0x00
void UploadMeshData(bool markNoLongerReadable)Public0x01
void Optimize()Public0x00
MeshTopology GetTopology(int submesh)Public0x04
void CombineMeshes(const CombineInstance[]& combine, bool mergeSubMeshes, bool useMatrices)Public0x08
void CombineMeshes(const CombineInstance[]& combine, bool mergeSubMeshes)Public0x08
void CombineMeshes(const CombineInstance[]& combine)Public0x08
void SetSubMesh_Injected(int index, ref SubMeshDescriptor& desc, const MeshUpdateFlags& flags)Private0x30
void GetSubMesh_Injected(int index, ref SubMeshDescriptor& ret)Private0x30
void get_bounds_Injected(ref Bounds& ret)Private+1 flags0x18
void set_bounds_Injected(ref Bounds& value)Private+1 flags0x18

Used by 119

types with a member, parameter or interface of this type