C# Class MeshCombineUtility.MeshInstance, OZML

Show file Open project: merveilles/OZML Class Usage Examples

Public Properties

Property Type Description
mesh Mesh
subMeshIndex int
targetSubMeshIndex int
transform Matrix4x4

Property Details

mesh public property

The source mesh.
public Mesh mesh
return Mesh

subMeshIndex public property

The submesh from the source mesh that you want to add to the combiner.
public int subMeshIndex
return int

targetSubMeshIndex public property

The submesh that you want this instance to be combined into. Group instances that should share a material into the same target submesh index.
public int targetSubMeshIndex
return int

transform public property

The instance transform.
public Matrix4x4 transform
return Matrix4x4