Пример #1
0
        // @private
        // デーモンから結果を受け取るためのラッパ
        public static string ReadResult(Connector connector)
        {
            var result = connector.Receive();
            if (result.StartsWith("\0")) return string.Empty;

            var tmp = result.Split(' ');
            var len = int.Parse(tmp[0]);
            return tmp[1].Substring(0, len);
        }
Пример #2
0
 public MayaModelInstance(Connector connector, string instanceName)
 {
     _connector = connector;
     _instanceName = instanceName;
 }