Class MeshConverter
Inheritance
MeshConverter
Syntax
public class MeshConverter : SyncModelConverter<SyncMesh, Mesh>, IReflectNodeProcessor
Constructors
MeshConverter(EventHub, MemoryTracker, IOutput<SyncedData<Mesh>>)
Declaration
public MeshConverter(EventHub hub, MemoryTracker memTracker, IOutput<SyncedData<Mesh>> output)
Parameters
Methods
GetDestructor()
Declaration
protected override Action<Mesh> GetDestructor()
Returns
Overrides
UnityEngine.Reflect.Pipeline.SyncModelConverter<SyncMesh, UnityEngine.Mesh>.GetDestructor()
Import(SyncedData<SyncMesh>)
Declaration
protected override Mesh Import(SyncedData<SyncMesh> syncMesh)
Parameters
Type |
Name |
Description |
SyncedData<SyncMesh> |
syncMesh |
|
Returns
Overrides
UnityEngine.Reflect.Pipeline.SyncModelConverter<SyncMesh, UnityEngine.Mesh>.Import(Unity.Reflect.SyncedData<SyncMesh>)
ReImport(SyncedData<SyncMesh>, Mesh)
Declaration
protected override void ReImport(SyncedData<SyncMesh> model, Mesh obj)
Parameters
Overrides
UnityEngine.Reflect.Pipeline.SyncModelConverter<SyncMesh, UnityEngine.Mesh>.ReImport(Unity.Reflect.SyncedData<SyncMesh>, UnityEngine.Mesh)