public void RemoveAnnotation(long primitive_id, int time) { try { lock (operationLock) { IReView_RemoteDebugRenderer RPCRDRProxy = RPC_Manager.Instance.Get_Client_Proxy <RPC_Client_Proxy_IReView_RemoteDebugRenderer>(); if (RPCRDRProxy != null) { RPCRDRProxy.RemoveAnnotation(primitive_id, time); } } } catch (Exception) { Disconnect(); } }
public void AddAnnotation(long primitive_id, int time, int duration, string text, Color32 color) { try { lock (operationLock) { IReView_RemoteDebugRenderer RPCRDRProxy = RPC_Manager.Instance.Get_Client_Proxy <RPC_Client_Proxy_IReView_RemoteDebugRenderer>(); if (RPCRDRProxy != null) { RPCRDRProxy.AddAnnotation(primitive_id, time, duration, text, color); } } } catch (Exception) { Disconnect(); } }
public long AddTriangle(long mesh_id, int time, Vector3 a, Vector3 b, Vector3 c, Color32 color) { try { lock (operationLock) { IReView_RemoteDebugRenderer RPCRDRProxy = RPC_Manager.Instance.Get_Client_Proxy <RPC_Client_Proxy_IReView_RemoteDebugRenderer>(); if (RPCRDRProxy != null) { RPCRDRProxy.AddTriangle(mesh_id, time, a, b, c, color); } } } catch (Exception) { Disconnect(); } return(-1); }
public long AddCircle(int time, int duration, Vector3 center, double radius, Vector3 up, int segments, Color32 color) { try { lock (operationLock) { IReView_RemoteDebugRenderer RPCRDRProxy = RPC_Manager.Instance.Get_Client_Proxy <RPC_Client_Proxy_IReView_RemoteDebugRenderer>(); if (RPCRDRProxy != null) { long id = GetUniqueID(); RPCRDRProxy.AddCircle(id, time, duration, center, radius, up, segments, color); return(id); } } } catch (Exception) { Disconnect(); } return(-1); }
public long AddLine(int time, int duration, Vector3 a, Vector3 b, Color32 color) { try { lock (operationLock) { IReView_RemoteDebugRenderer RPCRDRProxy = RPC_Manager.Instance.Get_Client_Proxy <RPC_Client_Proxy_IReView_RemoteDebugRenderer>(); if (RPCRDRProxy != null) { long id = GetUniqueID(); RPCRDRProxy.AddLine(id, time, duration, a, b, color); return(id); } } } catch (Exception) { Disconnect(); } return(-1); }
public long AddMesh(int time, int duration, Matrix4x4 transform, Vector3 pivot, bool flatShaded) { try { lock (operationLock) { IReView_RemoteDebugRenderer RPCRDRProxy = RPC_Manager.Instance.Get_Client_Proxy <RPC_Client_Proxy_IReView_RemoteDebugRenderer>(); if (RPCRDRProxy != null) { long id = GetUniqueID(); RPCRDRProxy.AddMesh(id, time, duration, transform, pivot); return(id); } } } catch (Exception) { Disconnect(); } return(-1); }
public long AddCone(int time, int duration, Matrix4x4 transform, Vector3 pivot, double radius, double height, int segments, Color32 color, bool create_caps) { try { lock (operationLock) { IReView_RemoteDebugRenderer RPCRDRProxy = RPC_Manager.Instance.Get_Client_Proxy <RPC_Client_Proxy_IReView_RemoteDebugRenderer>(); if (RPCRDRProxy != null) { long id = GetUniqueID(); RPCRDRProxy.AddCone(id, time, duration, transform, pivot, radius, height, segments, color, create_caps); return(id); } } } catch (Exception) { Disconnect(); } return(-1); }