Show / Hide Table of Contents

Class MeshHelper

Inheritance
System.Object
MeshHelper
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 MeshHelper

Methods

| Improve this Doc View Source

BytesToFloatArray(ReadOnlySpan<Byte>, MeshHelper.VertexFormat)

Declaration
public static float[] BytesToFloatArray(ReadOnlySpan<byte> inputBytes, MeshHelper.VertexFormat format)
Parameters
Type Name Description
ReadOnlySpan<System.Byte> inputBytes
MeshHelper.VertexFormat format
Returns
Type Description
System.Single[]
| Improve this Doc View Source

BytesToIntArray(ReadOnlySpan<Byte>, MeshHelper.VertexFormat)

Declaration
public static int[] BytesToIntArray(ReadOnlySpan<byte> inputBytes, MeshHelper.VertexFormat format)
Parameters
Type Name Description
ReadOnlySpan<System.Byte> inputBytes
MeshHelper.VertexFormat format
Returns
Type Description
System.Int32[]
| Improve this Doc View Source

FloatArrayToColorFloat(Single[])

Declaration
public static ColorFloat[] FloatArrayToColorFloat(float[] input)
Parameters
Type Name Description
System.Single[] input
Returns
Type Description
AssetRipper.Numerics.ColorFloat[]
| Improve this Doc View Source

FloatArrayToVector2(Single[])

Declaration
public static Vector2[] FloatArrayToVector2(float[] input)
Parameters
Type Name Description
System.Single[] input
Returns
Type Description
System.Numerics.Vector2[]
| Improve this Doc View Source

FloatArrayToVector2(Single[], Int32)

Declaration
public static Vector2[] FloatArrayToVector2(float[] input, int dimension)
Parameters
Type Name Description
System.Single[] input
System.Int32 dimension
Returns
Type Description
System.Numerics.Vector2[]
| Improve this Doc View Source

FloatArrayToVector3(Single[])

Declaration
public static Vector3[] FloatArrayToVector3(float[] input)
Parameters
Type Name Description
System.Single[] input
Returns
Type Description
System.Numerics.Vector3[]
| Improve this Doc View Source

FloatArrayToVector3(Single[], Int32)

Declaration
public static Vector3[] FloatArrayToVector3(float[] input, int dimension)
Parameters
Type Name Description
System.Single[] input
System.Int32 dimension
Returns
Type Description
System.Numerics.Vector3[]
| Improve this Doc View Source

FloatArrayToVector4(Single[])

Declaration
public static Vector4[] FloatArrayToVector4(float[] input)
Parameters
Type Name Description
System.Single[] input
Returns
Type Description
System.Numerics.Vector4[]
| Improve this Doc View Source

FloatArrayToVector4(Single[], Int32)

Declaration
public static Vector4[] FloatArrayToVector4(float[] input, int dimension)
Parameters
Type Name Description
System.Single[] input
System.Int32 dimension
Returns
Type Description
System.Numerics.Vector4[]
| Improve this Doc View Source

GetChannelFormat_Color(UnityVersion)

Declaration
public static int GetChannelFormat_Color(UnityVersion version)
Parameters
Type Name Description
UnityVersion version
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetFormatSize(MeshHelper.VertexFormat)

Declaration
public static int GetFormatSize(MeshHelper.VertexFormat format)
Parameters
Type Name Description
MeshHelper.VertexFormat format
Returns
Type Description
System.Int32
| Improve this Doc View Source

IsIntFormat(MeshHelper.VertexFormat)

Declaration
public static bool IsIntFormat(MeshHelper.VertexFormat format)
Parameters
Type Name Description
MeshHelper.VertexFormat format
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ToChannelFormat(MeshHelper.VertexFormat, UnityVersion)

Declaration
public static int ToChannelFormat(MeshHelper.VertexFormat format, UnityVersion version)
Parameters
Type Name Description
MeshHelper.VertexFormat format
UnityVersion version
Returns
Type Description
System.Int32
| Improve this Doc View Source

ToVertexFormat(Int32, UnityVersion)

Declaration
public static MeshHelper.VertexFormat ToVertexFormat(int format, UnityVersion version)
Parameters
Type Name Description
System.Int32 format
UnityVersion version
Returns
Type Description
MeshHelper.VertexFormat
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾