Class MergingContainer
Inheritance
System.Object
MergingContainer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: cs.temp.dll.dll
Syntax
public sealed class MergingContainer
Fields
areNormalsConsistent
Declaration
public bool areNormalsConsistent
Field Value
Type |
Description |
System.Boolean |
|
Properties
sharedMaterials
Declaration
public Material[] sharedMaterials { get; }
Property Value
Type |
Description |
Material[] |
|
submeshCount
Declaration
public int submeshCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
vertexCount
Declaration
public int vertexCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
verticesCount
Declaration
public int verticesCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
add(Mesh, Material[], Matrix4x4)
Declaration
public void add(Mesh mesh, Material[] materials, Matrix4x4 matrix)
Parameters
Type |
Name |
Description |
Mesh |
mesh |
|
Material[] |
materials |
|
Matrix4x4 |
matrix |
|
addColors(IList<Color>)
Declaration
public void addColors(IList<Color> colors)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<Color> |
colors |
|
addGameObject(GameObject)
Declaration
public void addGameObject(GameObject gameObject)
Parameters
Type |
Name |
Description |
GameObject |
gameObject |
|
Declaration
public void addGameObject(GameObject gameObject, Transform targetTransform)
Parameters
Type |
Name |
Description |
GameObject |
gameObject |
|
Transform |
targetTransform |
|
addIndices(IList<Int32>, Int32, Int32, MeshTopology, Boolean)
Declaration
public void addIndices(IList<int> indices, int submesh, int baseVertex, MeshTopology meshTopology, bool flip = false)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<System.Int32> |
indices |
|
System.Int32 |
submesh |
|
System.Int32 |
baseVertex |
|
MeshTopology |
meshTopology |
|
System.Boolean |
flip |
|
addNormals(IList<Vector3>)
Declaration
public void addNormals(IList<Vector3> normals)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<Vector3> |
normals |
|
addTangents(IList<Vector4>)
Declaration
public void addTangents(IList<Vector4> tangents)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<Vector4> |
tangents |
|
addUVs(IList<Vector2>, Int32)
Declaration
public void addUVs(IList<Vector2> uvs, int channel)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<Vector2> |
uvs |
|
System.Int32 |
channel |
|
addVertices(IList<Vector3>)
Declaration
public void addVertices(IList<Vector3> vertices)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<Vector3> |
vertices |
|
getMesh()
Declaration
Returns
getSubmeshFromMaterial(Material)
Declaration
public int getSubmeshFromMaterial(Material material)
Parameters
Type |
Name |
Description |
Material |
material |
|
Returns
Type |
Description |
System.Int32 |
|