Table of Contents

Class MeshPreviewGenerator

Namespace
Root
Assembly
SPZGameAssembly.dll
public static class MeshPreviewGenerator
Inheritance
object
MeshPreviewGenerator

Fields

PreviewAngle

public static float PreviewAngle

Field Value

float

Methods

ConvertRtToTexture(RenderTexture)

public static Texture2D ConvertRtToTexture(RenderTexture rTex)

Parameters

rTex RenderTexture

Returns

Texture2D

GenerateMeshPreview(Mesh, MaterialReference, int, float)

public static Texture2D GenerateMeshPreview(Mesh mesh, MaterialReference material, int dimensions, float bounds)

Parameters

mesh Mesh
material MaterialReference
dimensions int
bounds float

Returns

Texture2D