Show / Hide Table of Contents

Class MeshExtensions

Inheritance
System.Object
MeshExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AssetRipper.SourceGenerated.Extensions
Assembly: AssetRipper.SourceGenerated.Extensions.dll
Syntax
public static class MeshExtensions

Methods

| Improve this Doc View Source

CheckAssetIntegrity(IMesh)

Declaration
public static bool CheckAssetIntegrity(this IMesh mesh)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_43.IMesh mesh
Returns
Type Description
System.Boolean
| Improve this Doc View Source

FindBlendShapeNameByCRC(IMesh, UInt32)

Declaration
public static string FindBlendShapeNameByCRC(this IMesh mesh, uint crc)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_43.IMesh mesh
System.UInt32 crc
Returns
Type Description
System.String
| Improve this Doc View Source

GetChannelsData(IMesh)

Declaration
public static byte[] GetChannelsData(this IMesh mesh)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_43.IMesh mesh
Returns
Type Description
System.Byte[]
| Improve this Doc View Source

GetIndexFormat(IMesh)

Declaration
public static IndexFormat GetIndexFormat(this IMesh mesh)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_43.IMesh mesh
Returns
Type Description
AssetRipper.SourceGenerated.Enums.IndexFormat
| Improve this Doc View Source

GetMeshCompression(IMesh)

Declaration
public static ModelImporterMeshCompression GetMeshCompression(this IMesh mesh)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_43.IMesh mesh
Returns
Type Description
AssetRipper.SourceGenerated.Enums.ModelImporterMeshCompression
| Improve this Doc View Source

GetMeshOptimizationFlags(IMesh)

Declaration
public static MeshOptimizationFlags GetMeshOptimizationFlags(this IMesh mesh)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_43.IMesh mesh
Returns
Type Description
AssetRipper.SourceGenerated.Enums.MeshOptimizationFlags
| Improve this Doc View Source

GetProcessedIndexBuffer(IMesh)

Declaration
public static uint[] GetProcessedIndexBuffer(this IMesh mesh)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_43.IMesh mesh
Returns
Type Description
System.UInt32[]
| Improve this Doc View Source

GetVertexDataBytes(IMesh)

Declaration
public static byte[] GetVertexDataBytes(this IMesh mesh)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_43.IMesh mesh
Returns
Type Description
System.Byte[]
| Improve this Doc View Source

HasAnyVertices(IMesh)

Declaration
public static bool HasAnyVertices(this IMesh mesh)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_43.IMesh mesh
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Is16BitIndices(IMesh)

Declaration
public static bool Is16BitIndices(this IMesh mesh)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_43.IMesh mesh
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsCombinedMesh(IMesh)

Declaration
public static bool IsCombinedMesh(this IMesh mesh)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_43.IMesh mesh
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsSet(IMesh)

Declaration
public static bool IsSet(this IMesh mesh)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_43.IMesh mesh
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ReadData(IMesh, out Vector3[], out Vector3[], out Vector4[], out ColorFloat[], out BoneWeight4[], out Vector2[], out Vector2[], out Vector2[], out Vector2[], out Vector2[], out Vector2[], out Vector2[], out Vector2[], out Matrix4x4[], out UInt32[])

Declaration
public static void ReadData(this IMesh mesh, out Vector3[] vertices, out Vector3[] normals, out Vector4[] tangents, out ColorFloat[] colors, out BoneWeight4[] skin, out Vector2[] uv0, out Vector2[] uv1, out Vector2[] uv2, out Vector2[] uv3, out Vector2[] uv4, out Vector2[] uv5, out Vector2[] uv6, out Vector2[] uv7, out Matrix4x4[] bindPose, out uint[] processedIndexBuffer)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_43.IMesh mesh
System.Numerics.Vector3[] vertices
System.Numerics.Vector3[] normals
System.Numerics.Vector4[] tangents
AssetRipper.Numerics.ColorFloat[] colors
AssetRipper.Numerics.BoneWeight4[] skin
System.Numerics.Vector2[] uv0
System.Numerics.Vector2[] uv1
System.Numerics.Vector2[] uv2
System.Numerics.Vector2[] uv3
System.Numerics.Vector2[] uv4
System.Numerics.Vector2[] uv5
System.Numerics.Vector2[] uv6
System.Numerics.Vector2[] uv7
System.Numerics.Matrix4x4[] bindPose
System.UInt32[] processedIndexBuffer
| Improve this Doc View Source

SetIndexFormat(IMesh, IndexFormat)

Declaration
public static void SetIndexFormat(this IMesh mesh, IndexFormat indexFormat)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_43.IMesh mesh
AssetRipper.SourceGenerated.Enums.IndexFormat indexFormat
| Improve this Doc View Source

SetMeshCompression(IMesh, ModelImporterMeshCompression)

Declaration
public static void SetMeshCompression(this IMesh mesh, ModelImporterMeshCompression meshCompression)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_43.IMesh mesh
AssetRipper.SourceGenerated.Enums.ModelImporterMeshCompression meshCompression
| Improve this Doc View Source

SetMeshOptimizationFlags(IMesh, MeshOptimizationFlags)

Declaration
public static void SetMeshOptimizationFlags(this IMesh mesh, MeshOptimizationFlags value)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_43.IMesh mesh
AssetRipper.SourceGenerated.Enums.MeshOptimizationFlags value
| Improve this Doc View Source

SetProcessedIndexBuffer(IMesh, UInt32[])

Declaration
public static void SetProcessedIndexBuffer(this IMesh mesh, uint[] indices)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_43.IMesh mesh
System.UInt32[] indices
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾