|
| static Texture2D | createTextureCopy (Texture2D source) |
| |
| static bool | ArrayBIsSubsetOfA (System.Object[] a, System.Object[] b) |
| |
| static Material [] | GetGOMaterials (GameObject go) |
| |
| static Mesh | GetMesh (GameObject go) |
| |
| static Renderer | GetRenderer (GameObject go) |
| |
| static void | DisableRendererInSource (GameObject go) |
| |
| static bool | hasOutOfBoundsUVs (Mesh m, ref Rect uvBounds) |
| |
| static bool | hasOutOfBoundsUVs (Mesh m, ref MeshAnalysisResult putResultHere, int submeshIndex=-1) |
| |
| static bool | hasOutOfBoundsUVs (Vector2[] uvs, Mesh m, ref MeshAnalysisResult putResultHere, int submeshIndex=-1) |
| |
| static void | setSolidColor (Texture2D t, Color c) |
| |
| static Texture2D | resampleTexture (Texture2D source, int newWidth, int newHeight) |
| |
| static bool | AreAllSharedMaterialsDistinct (Material[] sharedMaterials) |
| |
| static int | doSubmeshesShareVertsOrTris (Mesh m, ref MeshAnalysisResult mar) |
| |
| static bool | GetBounds (GameObject go, out Bounds b) |
| |
| static void | Destroy (UnityEngine.Object o) |
| |
§ AreAllSharedMaterialsDistinct()
| static bool DigitalOpus.MB.Core.MB_Utility.AreAllSharedMaterialsDistinct |
( |
Material [] |
sharedMaterials | ) |
|
|
static |
§ ArrayBIsSubsetOfA()
| static bool DigitalOpus.MB.Core.MB_Utility.ArrayBIsSubsetOfA |
( |
System.Object [] |
a, |
|
|
System.Object [] |
b |
|
) |
| |
|
static |
§ createTextureCopy()
| static Texture2D DigitalOpus.MB.Core.MB_Utility.createTextureCopy |
( |
Texture2D |
source | ) |
|
|
static |
§ Destroy()
| static void DigitalOpus.MB.Core.MB_Utility.Destroy |
( |
UnityEngine.Object |
o | ) |
|
|
static |
§ DisableRendererInSource()
| static void DigitalOpus.MB.Core.MB_Utility.DisableRendererInSource |
( |
GameObject |
go | ) |
|
|
static |
§ doSubmeshesShareVertsOrTris()
| static int DigitalOpus.MB.Core.MB_Utility.doSubmeshesShareVertsOrTris |
( |
Mesh |
m, |
|
|
ref MeshAnalysisResult |
mar |
|
) |
| |
|
static |
§ GetBounds()
| static bool DigitalOpus.MB.Core.MB_Utility.GetBounds |
( |
GameObject |
go, |
|
|
out Bounds |
b |
|
) |
| |
|
static |
§ GetGOMaterials()
| static Material [] DigitalOpus.MB.Core.MB_Utility.GetGOMaterials |
( |
GameObject |
go | ) |
|
|
static |
§ GetMesh()
| static Mesh DigitalOpus.MB.Core.MB_Utility.GetMesh |
( |
GameObject |
go | ) |
|
|
static |
§ GetRenderer()
| static Renderer DigitalOpus.MB.Core.MB_Utility.GetRenderer |
( |
GameObject |
go | ) |
|
|
static |
§ hasOutOfBoundsUVs() [1/3]
| static bool DigitalOpus.MB.Core.MB_Utility.hasOutOfBoundsUVs |
( |
Mesh |
m, |
|
|
ref Rect |
uvBounds |
|
) |
| |
|
static |
§ hasOutOfBoundsUVs() [2/3]
| static bool DigitalOpus.MB.Core.MB_Utility.hasOutOfBoundsUVs |
( |
Mesh |
m, |
|
|
ref MeshAnalysisResult |
putResultHere, |
|
|
int |
submeshIndex = -1 |
|
) |
| |
|
static |
§ hasOutOfBoundsUVs() [3/3]
| static bool DigitalOpus.MB.Core.MB_Utility.hasOutOfBoundsUVs |
( |
Vector2 [] |
uvs, |
|
|
Mesh |
m, |
|
|
ref MeshAnalysisResult |
putResultHere, |
|
|
int |
submeshIndex = -1 |
|
) |
| |
|
static |
§ resampleTexture()
| static Texture2D DigitalOpus.MB.Core.MB_Utility.resampleTexture |
( |
Texture2D |
source, |
|
|
int |
newWidth, |
|
|
int |
newHeight |
|
) |
| |
|
static |
§ setSolidColor()
| static void DigitalOpus.MB.Core.MB_Utility.setSolidColor |
( |
Texture2D |
t, |
|
|
Color |
c |
|
) |
| |
|
static |
The documentation for this class was generated from the following file:
- D:/workspace/Unity/MeshBaker/Assets/MeshBaker/scripts/core/MB_Utility.cs