Class UnityMeshToDllSubMeshWithTexture
UnityのMeshから共通ライブラリのSubMeshを生成します。 テクスチャ情報を含みます。 特にエクスポート機能で利用されます。
Inheritance
System.Object
UnityMeshToDllSubMeshWithTexture
Implements
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()
Namespace: PLATEAU.CityExport.ModelConvert.SubMeshConvert
Assembly: cs.temp.dll.dll
Syntax
public class UnityMeshToDllSubMeshWithTexture : IUnityMeshToDllSubMeshConverter
Constructors
UnityMeshToDllSubMeshWithTexture(Boolean)
Declaration
public UnityMeshToDllSubMeshWithTexture(bool exportDefaultTextures)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | exportDefaultTextures |
Properties
GameMaterials
Declaration
public List<Material> GameMaterials { get; }
Property Value
Type | Description |
---|---|
List<Material> |
Methods
Convert(Mesh, Renderer)
Declaration
public List<SubMesh> Convert(Mesh unityMesh, Renderer renderer)
Parameters
Type | Name | Description |
---|---|---|
Mesh | unityMesh | |
Renderer | renderer |
Returns
Type | Description |
---|---|
List<SubMesh> |