parent
77cbfe5661
commit
4aa5fc8af4
41 changed files with 1965 additions and 122 deletions
Binary file not shown.
@ -0,0 +1,10 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 6f6b5b47aa125be4aa9abe68fcf892ac |
||||
folderAsset: yes |
||||
timeCreated: 1525257095 |
||||
licenseType: Free |
||||
DefaultImporter: |
||||
externalObjects: {} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,10 @@ |
||||
fileFormatVersion: 2 |
||||
guid: d0bdbcbef356b804d884dd930d38ae8b |
||||
folderAsset: yes |
||||
timeCreated: 1518015320 |
||||
licenseType: Free |
||||
DefaultImporter: |
||||
externalObjects: {} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
Binary file not shown.
@ -0,0 +1,32 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 9504153c153a2624e9da519e92cf5542 |
||||
timeCreated: 1518015297 |
||||
licenseType: Free |
||||
PluginImporter: |
||||
externalObjects: {} |
||||
serializedVersion: 2 |
||||
iconMap: {} |
||||
executionOrder: {} |
||||
isPreloaded: 0 |
||||
isOverridable: 0 |
||||
platformData: |
||||
- first: |
||||
Any: |
||||
second: |
||||
enabled: 1 |
||||
settings: {} |
||||
- first: |
||||
Editor: Editor |
||||
second: |
||||
enabled: 0 |
||||
settings: |
||||
DefaultValueInitialized: true |
||||
- first: |
||||
Windows Store Apps: WindowsStoreApps |
||||
second: |
||||
enabled: 0 |
||||
settings: |
||||
CPU: AnyCPU |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
Binary file not shown.
@ -0,0 +1,30 @@ |
||||
fileFormatVersion: 2 |
||||
guid: dbf1aea72c6b57649b8bfb462b093c00 |
||||
PluginImporter: |
||||
externalObjects: {} |
||||
serializedVersion: 2 |
||||
iconMap: {} |
||||
executionOrder: {} |
||||
isPreloaded: 0 |
||||
isOverridable: 0 |
||||
platformData: |
||||
- first: |
||||
Any: |
||||
second: |
||||
enabled: 1 |
||||
settings: {} |
||||
- first: |
||||
Editor: Editor |
||||
second: |
||||
enabled: 0 |
||||
settings: |
||||
DefaultValueInitialized: true |
||||
- first: |
||||
Windows Store Apps: WindowsStoreApps |
||||
second: |
||||
enabled: 0 |
||||
settings: |
||||
CPU: AnyCPU |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
Binary file not shown.
@ -0,0 +1,30 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 495e81e1d71d1314bb494527410dccb0 |
||||
PluginImporter: |
||||
externalObjects: {} |
||||
serializedVersion: 2 |
||||
iconMap: {} |
||||
executionOrder: {} |
||||
isPreloaded: 0 |
||||
isOverridable: 0 |
||||
platformData: |
||||
- first: |
||||
Any: |
||||
second: |
||||
enabled: 1 |
||||
settings: {} |
||||
- first: |
||||
Editor: Editor |
||||
second: |
||||
enabled: 0 |
||||
settings: |
||||
DefaultValueInitialized: true |
||||
- first: |
||||
Windows Store Apps: WindowsStoreApps |
||||
second: |
||||
enabled: 0 |
||||
settings: |
||||
CPU: AnyCPU |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,10 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 1152917cc2daa11438d537680ad5f9d4 |
||||
folderAsset: yes |
||||
timeCreated: 1518001842 |
||||
licenseType: Free |
||||
DefaultImporter: |
||||
externalObjects: {} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,10 @@ |
||||
fileFormatVersion: 2 |
||||
guid: dfc7c55cf51ee0b489c4b8f996fa221a |
||||
folderAsset: yes |
||||
timeCreated: 1517972283 |
||||
licenseType: Free |
||||
DefaultImporter: |
||||
externalObjects: {} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,10 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 9d801733b0f4ed842a4226da283a9575 |
||||
folderAsset: yes |
||||
timeCreated: 1518001790 |
||||
licenseType: Free |
||||
DefaultImporter: |
||||
externalObjects: {} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
Binary file not shown.
@ -0,0 +1,88 @@ |
||||
fileFormatVersion: 2 |
||||
guid: c45a46b26d79cea4bbe365f12000d367 |
||||
timeCreated: 1518001685 |
||||
licenseType: Free |
||||
PluginImporter: |
||||
externalObjects: {} |
||||
serializedVersion: 2 |
||||
iconMap: {} |
||||
executionOrder: {} |
||||
isPreloaded: 0 |
||||
isOverridable: 0 |
||||
platformData: |
||||
- first: |
||||
'': Any |
||||
second: |
||||
enabled: 0 |
||||
settings: |
||||
Exclude Editor: 0 |
||||
Exclude Linux: 0 |
||||
Exclude Linux64: 0 |
||||
Exclude LinuxUniversal: 0 |
||||
Exclude OSXUniversal: 0 |
||||
Exclude Win: 1 |
||||
Exclude Win64: 0 |
||||
- first: |
||||
Any: |
||||
second: |
||||
enabled: 1 |
||||
settings: {} |
||||
- first: |
||||
Editor: Editor |
||||
second: |
||||
enabled: 1 |
||||
settings: |
||||
CPU: x86_64 |
||||
DefaultValueInitialized: true |
||||
OS: Windows |
||||
- first: |
||||
Facebook: Win |
||||
second: |
||||
enabled: 0 |
||||
settings: |
||||
CPU: None |
||||
- first: |
||||
Facebook: Win64 |
||||
second: |
||||
enabled: 0 |
||||
settings: |
||||
CPU: AnyCPU |
||||
- first: |
||||
Standalone: Linux |
||||
second: |
||||
enabled: 1 |
||||
settings: |
||||
CPU: x86 |
||||
- first: |
||||
Standalone: Linux64 |
||||
second: |
||||
enabled: 1 |
||||
settings: |
||||
CPU: x86_64 |
||||
- first: |
||||
Standalone: LinuxUniversal |
||||
second: |
||||
enabled: 1 |
||||
settings: |
||||
CPU: AnyCPU |
||||
- first: |
||||
Standalone: OSXUniversal |
||||
second: |
||||
enabled: 1 |
||||
settings: |
||||
CPU: AnyCPU |
||||
- first: |
||||
Standalone: Win |
||||
second: |
||||
enabled: 0 |
||||
settings: |
||||
CPU: None |
||||
- first: |
||||
Standalone: Win64 |
||||
second: |
||||
enabled: 1 |
||||
settings: |
||||
CPU: AnyCPU |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,10 @@ |
||||
fileFormatVersion: 2 |
||||
guid: e61dbedb9243085418be7e788fc4b7d7 |
||||
folderAsset: yes |
||||
timeCreated: 1518408269 |
||||
licenseType: Free |
||||
DefaultImporter: |
||||
externalObjects: {} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,10 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 069493b6cf88a674b8ea05d8ce5ede27 |
||||
folderAsset: yes |
||||
timeCreated: 1518162534 |
||||
licenseType: Free |
||||
DefaultImporter: |
||||
externalObjects: {} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,13 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 2c2dc5ab2aeed034fa54b99ce7684e86 |
||||
timeCreated: 1518162353 |
||||
licenseType: Free |
||||
MonoImporter: |
||||
externalObjects: {} |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,13 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 2bd8ad095eeba3e4faab18e84e7fae76 |
||||
timeCreated: 1518487708 |
||||
licenseType: Free |
||||
MonoImporter: |
||||
externalObjects: {} |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,10 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 56032ca3ec67ba3449b295b605a3b7be |
||||
folderAsset: yes |
||||
timeCreated: 1524647267 |
||||
licenseType: Free |
||||
DefaultImporter: |
||||
externalObjects: {} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,10 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 6ffbbc1e44667e348b62c7f3ea93ae4b |
||||
timeCreated: 1525233718 |
||||
licenseType: Free |
||||
ShaderImporter: |
||||
externalObjects: {} |
||||
defaultTextures: [] |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,10 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 7a8ac615a5434b24d83dbec67effb820 |
||||
timeCreated: 1524801314 |
||||
licenseType: Free |
||||
ComputeShaderImporter: |
||||
externalObjects: {} |
||||
currentAPIMask: 4 |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,10 @@ |
||||
fileFormatVersion: 2 |
||||
guid: bd9793649dc30c046875df07338824bb |
||||
timeCreated: 1524801314 |
||||
licenseType: Free |
||||
ComputeShaderImporter: |
||||
externalObjects: {} |
||||
currentAPIMask: 4 |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,18 @@ |
||||
fileFormatVersion: 2 |
||||
guid: d47d55be359a57741a6fecbcc7efaf2b |
||||
timeCreated: 1524646292 |
||||
licenseType: Free |
||||
MonoImporter: |
||||
externalObjects: {} |
||||
serializedVersion: 2 |
||||
defaultReferences: |
||||
- shader: {fileID: 7200000, guid: bd9793649dc30c046875df07338824bb, type: 3} |
||||
- collectShader: {fileID: 7200000, guid: 7a8ac615a5434b24d83dbec67effb820, type: 3} |
||||
- FinalPositionBuffer: {instanceID: 0} |
||||
- FinalVelocityBuffer: {instanceID: 0} |
||||
- debugShader: {fileID: 4800000, guid: 6ffbbc1e44667e348b62c7f3ea93ae4b, type: 3} |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,97 @@ |
||||
// <auto-generated> |
||||
// Generated by the protocol buffer compiler. DO NOT EDIT! |
||||
// source: UltraCombos.Kinect2MotionTransmit.proto |
||||
// </auto-generated> |
||||
#pragma warning disable 1591 |
||||
#region Designer generated code |
||||
|
||||
using grpc = global::Grpc.Core; |
||||
|
||||
namespace UltraCombos.Kinect2MotionTransmit { |
||||
public static partial class Resource |
||||
{ |
||||
static readonly string __ServiceName = "UltraCombos.Kinect2MotionTransmit.Resource"; |
||||
|
||||
static readonly grpc::Marshaller<global::UltraCombos.Kinect2MotionTransmit.DataRequest> __Marshaller_DataRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::UltraCombos.Kinect2MotionTransmit.DataRequest.Parser.ParseFrom); |
||||
static readonly grpc::Marshaller<global::UltraCombos.Kinect2MotionTransmit.DataReply> __Marshaller_DataReply = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::UltraCombos.Kinect2MotionTransmit.DataReply.Parser.ParseFrom); |
||||
|
||||
static readonly grpc::Method<global::UltraCombos.Kinect2MotionTransmit.DataRequest, global::UltraCombos.Kinect2MotionTransmit.DataReply> __Method_SendData = new grpc::Method<global::UltraCombos.Kinect2MotionTransmit.DataRequest, global::UltraCombos.Kinect2MotionTransmit.DataReply>( |
||||
grpc::MethodType.Unary, |
||||
__ServiceName, |
||||
"SendData", |
||||
__Marshaller_DataRequest, |
||||
__Marshaller_DataReply); |
||||
|
||||
/// <summary>Service descriptor</summary> |
||||
public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor |
||||
{ |
||||
get { return global::UltraCombos.Kinect2MotionTransmit.UltraCombosKinect2MotionTransmitReflection.Descriptor.Services[0]; } |
||||
} |
||||
|
||||
/// <summary>Base class for server-side implementations of Resource</summary> |
||||
public abstract partial class ResourceBase |
||||
{ |
||||
public virtual global::System.Threading.Tasks.Task<global::UltraCombos.Kinect2MotionTransmit.DataReply> SendData(global::UltraCombos.Kinect2MotionTransmit.DataRequest request, grpc::ServerCallContext context) |
||||
{ |
||||
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); |
||||
} |
||||
|
||||
} |
||||
|
||||
/// <summary>Client for Resource</summary> |
||||
public partial class ResourceClient : grpc::ClientBase<ResourceClient> |
||||
{ |
||||
/// <summary>Creates a new client for Resource</summary> |
||||
/// <param name="channel">The channel to use to make remote calls.</param> |
||||
public ResourceClient(grpc::Channel channel) : base(channel) |
||||
{ |
||||
} |
||||
/// <summary>Creates a new client for Resource that uses a custom <c>CallInvoker</c>.</summary> |
||||
/// <param name="callInvoker">The callInvoker to use to make remote calls.</param> |
||||
public ResourceClient(grpc::CallInvoker callInvoker) : base(callInvoker) |
||||
{ |
||||
} |
||||
/// <summary>Protected parameterless constructor to allow creation of test doubles.</summary> |
||||
protected ResourceClient() : base() |
||||
{ |
||||
} |
||||
/// <summary>Protected constructor to allow creation of configured clients.</summary> |
||||
/// <param name="configuration">The client configuration.</param> |
||||
protected ResourceClient(ClientBaseConfiguration configuration) : base(configuration) |
||||
{ |
||||
} |
||||
|
||||
public virtual global::UltraCombos.Kinect2MotionTransmit.DataReply SendData(global::UltraCombos.Kinect2MotionTransmit.DataRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) |
||||
{ |
||||
return SendData(request, new grpc::CallOptions(headers, deadline, cancellationToken)); |
||||
} |
||||
public virtual global::UltraCombos.Kinect2MotionTransmit.DataReply SendData(global::UltraCombos.Kinect2MotionTransmit.DataRequest request, grpc::CallOptions options) |
||||
{ |
||||
return CallInvoker.BlockingUnaryCall(__Method_SendData, null, options, request); |
||||
} |
||||
public virtual grpc::AsyncUnaryCall<global::UltraCombos.Kinect2MotionTransmit.DataReply> SendDataAsync(global::UltraCombos.Kinect2MotionTransmit.DataRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) |
||||
{ |
||||
return SendDataAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); |
||||
} |
||||
public virtual grpc::AsyncUnaryCall<global::UltraCombos.Kinect2MotionTransmit.DataReply> SendDataAsync(global::UltraCombos.Kinect2MotionTransmit.DataRequest request, grpc::CallOptions options) |
||||
{ |
||||
return CallInvoker.AsyncUnaryCall(__Method_SendData, null, options, request); |
||||
} |
||||
/// <summary>Creates a new instance of client from given <c>ClientBaseConfiguration</c>.</summary> |
||||
protected override ResourceClient NewInstance(ClientBaseConfiguration configuration) |
||||
{ |
||||
return new ResourceClient(configuration); |
||||
} |
||||
} |
||||
|
||||
/// <summary>Creates service definition that can be registered with a server</summary> |
||||
/// <param name="serviceImpl">An object implementing the server-side handling logic.</param> |
||||
public static grpc::ServerServiceDefinition BindService(ResourceBase serviceImpl) |
||||
{ |
||||
return grpc::ServerServiceDefinition.CreateBuilder() |
||||
.AddMethod(__Method_SendData, serviceImpl.SendData).Build(); |
||||
} |
||||
|
||||
} |
||||
} |
||||
#endregion |
||||
@ -0,0 +1,13 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 6aaa626a29978c944b18c4334a0b06dc |
||||
timeCreated: 1524800781 |
||||
licenseType: Free |
||||
MonoImporter: |
||||
externalObjects: {} |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,650 @@ |
||||
// Generated by the protocol buffer compiler. DO NOT EDIT! |
||||
// source: UltraCombos.Kinect2MotionTransmit.proto |
||||
#pragma warning disable 1591, 0612, 3021 |
||||
#region Designer generated code |
||||
|
||||
using pb = global::Google.Protobuf; |
||||
using pbc = global::Google.Protobuf.Collections; |
||||
using pbr = global::Google.Protobuf.Reflection; |
||||
using scg = global::System.Collections.Generic; |
||||
namespace UltraCombos.Kinect2MotionTransmit { |
||||
|
||||
/// <summary>Holder for reflection information generated from UltraCombos.Kinect2MotionTransmit.proto</summary> |
||||
public static partial class UltraCombosKinect2MotionTransmitReflection { |
||||
|
||||
#region Descriptor |
||||
/// <summary>File descriptor for UltraCombos.Kinect2MotionTransmit.proto</summary> |
||||
public static pbr::FileDescriptor Descriptor { |
||||
get { return descriptor; } |
||||
} |
||||
private static pbr::FileDescriptor descriptor; |
||||
|
||||
static UltraCombosKinect2MotionTransmitReflection() { |
||||
byte[] descriptorData = global::System.Convert.FromBase64String( |
||||
string.Concat( |
||||
"CidVbHRyYUNvbWJvcy5LaW5lY3QyTW90aW9uVHJhbnNtaXQucHJvdG8SIVVs", |
||||
"dHJhQ29tYm9zLktpbmVjdDJNb3Rpb25UcmFuc21pdCKeAgoLRGF0YVJlcXVl", |
||||
"c3QSDAoEbmFtZRgBIAEoCRIVCg1kZXB0aEhpZ2hEYXRhGAIgASgMEhQKDGRl", |
||||
"cHRoTG93RGF0YRgDIAEoDBIUCgx2ZWxvY2l0eURhdGEYBCABKAwSEQoJcG9z", |
||||
"aXRpb25YGAUgASgCEhEKCXBvc2l0aW9uWRgGIAEoAhIRCglwb3NpdGlvbloY", |
||||
"ByABKAISEQoJcm90YXRpb25YGAggASgCEhEKCXJvdGF0aW9uWRgJIAEoAhIR", |
||||
"Cglyb3RhdGlvbloYCiABKAISEQoJY2xpcFNpemVYGAsgASgCEhEKCWNsaXBT", |
||||
"aXplWRgMIAEoAhIRCgljbGlwU2l6ZVoYDSABKAISEwoLaW5mb3JtYXRpb24Y", |
||||
"DiABKAkiGwoJRGF0YVJlcGx5Eg4KBnJlc3VsdBgBIAEoCTJ2CghSZXNvdXJj", |
||||
"ZRJqCghTZW5kRGF0YRIuLlVsdHJhQ29tYm9zLktpbmVjdDJNb3Rpb25UcmFu", |
||||
"c21pdC5EYXRhUmVxdWVzdBosLlVsdHJhQ29tYm9zLktpbmVjdDJNb3Rpb25U", |
||||
"cmFuc21pdC5EYXRhUmVwbHkiAGIGcHJvdG8z")); |
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
||||
new pbr::FileDescriptor[] { }, |
||||
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { |
||||
new pbr::GeneratedClrTypeInfo(typeof(global::UltraCombos.Kinect2MotionTransmit.DataRequest), global::UltraCombos.Kinect2MotionTransmit.DataRequest.Parser, new[]{ "Name", "DepthHighData", "DepthLowData", "VelocityData", "PositionX", "PositionY", "PositionZ", "RotationX", "RotationY", "RotationZ", "ClipSizeX", "ClipSizeY", "ClipSizeZ", "Information" }, null, null, null), |
||||
new pbr::GeneratedClrTypeInfo(typeof(global::UltraCombos.Kinect2MotionTransmit.DataReply), global::UltraCombos.Kinect2MotionTransmit.DataReply.Parser, new[]{ "Result" }, null, null, null) |
||||
})); |
||||
} |
||||
#endregion |
||||
|
||||
} |
||||
#region Messages |
||||
public sealed partial class DataRequest : pb::IMessage<DataRequest> { |
||||
private static readonly pb::MessageParser<DataRequest> _parser = new pb::MessageParser<DataRequest>(() => new DataRequest()); |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public static pb::MessageParser<DataRequest> Parser { get { return _parser; } } |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public static pbr::MessageDescriptor Descriptor { |
||||
get { return global::UltraCombos.Kinect2MotionTransmit.UltraCombosKinect2MotionTransmitReflection.Descriptor.MessageTypes[0]; } |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
pbr::MessageDescriptor pb::IMessage.Descriptor { |
||||
get { return Descriptor; } |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public DataRequest() { |
||||
OnConstruction(); |
||||
} |
||||
|
||||
partial void OnConstruction(); |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public DataRequest(DataRequest other) : this() { |
||||
name_ = other.name_; |
||||
depthHighData_ = other.depthHighData_; |
||||
depthLowData_ = other.depthLowData_; |
||||
velocityData_ = other.velocityData_; |
||||
positionX_ = other.positionX_; |
||||
positionY_ = other.positionY_; |
||||
positionZ_ = other.positionZ_; |
||||
rotationX_ = other.rotationX_; |
||||
rotationY_ = other.rotationY_; |
||||
rotationZ_ = other.rotationZ_; |
||||
clipSizeX_ = other.clipSizeX_; |
||||
clipSizeY_ = other.clipSizeY_; |
||||
clipSizeZ_ = other.clipSizeZ_; |
||||
information_ = other.information_; |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public DataRequest Clone() { |
||||
return new DataRequest(this); |
||||
} |
||||
|
||||
/// <summary>Field number for the "name" field.</summary> |
||||
public const int NameFieldNumber = 1; |
||||
private string name_ = ""; |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public string Name { |
||||
get { return name_; } |
||||
set { |
||||
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
||||
} |
||||
} |
||||
|
||||
/// <summary>Field number for the "depthHighData" field.</summary> |
||||
public const int DepthHighDataFieldNumber = 2; |
||||
private pb::ByteString depthHighData_ = pb::ByteString.Empty; |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public pb::ByteString DepthHighData { |
||||
get { return depthHighData_; } |
||||
set { |
||||
depthHighData_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
||||
} |
||||
} |
||||
|
||||
/// <summary>Field number for the "depthLowData" field.</summary> |
||||
public const int DepthLowDataFieldNumber = 3; |
||||
private pb::ByteString depthLowData_ = pb::ByteString.Empty; |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public pb::ByteString DepthLowData { |
||||
get { return depthLowData_; } |
||||
set { |
||||
depthLowData_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
||||
} |
||||
} |
||||
|
||||
/// <summary>Field number for the "velocityData" field.</summary> |
||||
public const int VelocityDataFieldNumber = 4; |
||||
private pb::ByteString velocityData_ = pb::ByteString.Empty; |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public pb::ByteString VelocityData { |
||||
get { return velocityData_; } |
||||
set { |
||||
velocityData_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
||||
} |
||||
} |
||||
|
||||
/// <summary>Field number for the "positionX" field.</summary> |
||||
public const int PositionXFieldNumber = 5; |
||||
private float positionX_; |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public float PositionX { |
||||
get { return positionX_; } |
||||
set { |
||||
positionX_ = value; |
||||
} |
||||
} |
||||
|
||||
/// <summary>Field number for the "positionY" field.</summary> |
||||
public const int PositionYFieldNumber = 6; |
||||
private float positionY_; |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public float PositionY { |
||||
get { return positionY_; } |
||||
set { |
||||
positionY_ = value; |
||||
} |
||||
} |
||||
|
||||
/// <summary>Field number for the "positionZ" field.</summary> |
||||
public const int PositionZFieldNumber = 7; |
||||
private float positionZ_; |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public float PositionZ { |
||||
get { return positionZ_; } |
||||
set { |
||||
positionZ_ = value; |
||||
} |
||||
} |
||||
|
||||
/// <summary>Field number for the "rotationX" field.</summary> |
||||
public const int RotationXFieldNumber = 8; |
||||
private float rotationX_; |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public float RotationX { |
||||
get { return rotationX_; } |
||||
set { |
||||
rotationX_ = value; |
||||
} |
||||
} |
||||
|
||||
/// <summary>Field number for the "rotationY" field.</summary> |
||||
public const int RotationYFieldNumber = 9; |
||||
private float rotationY_; |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public float RotationY { |
||||
get { return rotationY_; } |
||||
set { |
||||
rotationY_ = value; |
||||
} |
||||
} |
||||
|
||||
/// <summary>Field number for the "rotationZ" field.</summary> |
||||
public const int RotationZFieldNumber = 10; |
||||
private float rotationZ_; |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public float RotationZ { |
||||
get { return rotationZ_; } |
||||
set { |
||||
rotationZ_ = value; |
||||
} |
||||
} |
||||
|
||||
/// <summary>Field number for the "clipSizeX" field.</summary> |
||||
public const int ClipSizeXFieldNumber = 11; |
||||
private float clipSizeX_; |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public float ClipSizeX { |
||||
get { return clipSizeX_; } |
||||
set { |
||||
clipSizeX_ = value; |
||||
} |
||||
} |
||||
|
||||
/// <summary>Field number for the "clipSizeY" field.</summary> |
||||
public const int ClipSizeYFieldNumber = 12; |
||||
private float clipSizeY_; |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public float ClipSizeY { |
||||
get { return clipSizeY_; } |
||||
set { |
||||
clipSizeY_ = value; |
||||
} |
||||
} |
||||
|
||||
/// <summary>Field number for the "clipSizeZ" field.</summary> |
||||
public const int ClipSizeZFieldNumber = 13; |
||||
private float clipSizeZ_; |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public float ClipSizeZ { |
||||
get { return clipSizeZ_; } |
||||
set { |
||||
clipSizeZ_ = value; |
||||
} |
||||
} |
||||
|
||||
/// <summary>Field number for the "information" field.</summary> |
||||
public const int InformationFieldNumber = 14; |
||||
private string information_ = ""; |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public string Information { |
||||
get { return information_; } |
||||
set { |
||||
information_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
||||
} |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public override bool Equals(object other) { |
||||
return Equals(other as DataRequest); |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public bool Equals(DataRequest other) { |
||||
if (ReferenceEquals(other, null)) { |
||||
return false; |
||||
} |
||||
if (ReferenceEquals(other, this)) { |
||||
return true; |
||||
} |
||||
if (Name != other.Name) return false; |
||||
if (DepthHighData != other.DepthHighData) return false; |
||||
if (DepthLowData != other.DepthLowData) return false; |
||||
if (VelocityData != other.VelocityData) return false; |
||||
if (PositionX != other.PositionX) return false; |
||||
if (PositionY != other.PositionY) return false; |
||||
if (PositionZ != other.PositionZ) return false; |
||||
if (RotationX != other.RotationX) return false; |
||||
if (RotationY != other.RotationY) return false; |
||||
if (RotationZ != other.RotationZ) return false; |
||||
if (ClipSizeX != other.ClipSizeX) return false; |
||||
if (ClipSizeY != other.ClipSizeY) return false; |
||||
if (ClipSizeZ != other.ClipSizeZ) return false; |
||||
if (Information != other.Information) return false; |
||||
return true; |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public override int GetHashCode() { |
||||
int hash = 1; |
||||
if (Name.Length != 0) hash ^= Name.GetHashCode(); |
||||
if (DepthHighData.Length != 0) hash ^= DepthHighData.GetHashCode(); |
||||
if (DepthLowData.Length != 0) hash ^= DepthLowData.GetHashCode(); |
||||
if (VelocityData.Length != 0) hash ^= VelocityData.GetHashCode(); |
||||
if (PositionX != 0F) hash ^= PositionX.GetHashCode(); |
||||
if (PositionY != 0F) hash ^= PositionY.GetHashCode(); |
||||
if (PositionZ != 0F) hash ^= PositionZ.GetHashCode(); |
||||
if (RotationX != 0F) hash ^= RotationX.GetHashCode(); |
||||
if (RotationY != 0F) hash ^= RotationY.GetHashCode(); |
||||
if (RotationZ != 0F) hash ^= RotationZ.GetHashCode(); |
||||
if (ClipSizeX != 0F) hash ^= ClipSizeX.GetHashCode(); |
||||
if (ClipSizeY != 0F) hash ^= ClipSizeY.GetHashCode(); |
||||
if (ClipSizeZ != 0F) hash ^= ClipSizeZ.GetHashCode(); |
||||
if (Information.Length != 0) hash ^= Information.GetHashCode(); |
||||
return hash; |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public override string ToString() { |
||||
return pb::JsonFormatter.ToDiagnosticString(this); |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public void WriteTo(pb::CodedOutputStream output) { |
||||
if (Name.Length != 0) { |
||||
output.WriteRawTag(10); |
||||
output.WriteString(Name); |
||||
} |
||||
if (DepthHighData.Length != 0) { |
||||
output.WriteRawTag(18); |
||||
output.WriteBytes(DepthHighData); |
||||
} |
||||
if (DepthLowData.Length != 0) { |
||||
output.WriteRawTag(26); |
||||
output.WriteBytes(DepthLowData); |
||||
} |
||||
if (VelocityData.Length != 0) { |
||||
output.WriteRawTag(34); |
||||
output.WriteBytes(VelocityData); |
||||
} |
||||
if (PositionX != 0F) { |
||||
output.WriteRawTag(45); |
||||
output.WriteFloat(PositionX); |
||||
} |
||||
if (PositionY != 0F) { |
||||
output.WriteRawTag(53); |
||||
output.WriteFloat(PositionY); |
||||
} |
||||
if (PositionZ != 0F) { |
||||
output.WriteRawTag(61); |
||||
output.WriteFloat(PositionZ); |
||||
} |
||||
if (RotationX != 0F) { |
||||
output.WriteRawTag(69); |
||||
output.WriteFloat(RotationX); |
||||
} |
||||
if (RotationY != 0F) { |
||||
output.WriteRawTag(77); |
||||
output.WriteFloat(RotationY); |
||||
} |
||||
if (RotationZ != 0F) { |
||||
output.WriteRawTag(85); |
||||
output.WriteFloat(RotationZ); |
||||
} |
||||
if (ClipSizeX != 0F) { |
||||
output.WriteRawTag(93); |
||||
output.WriteFloat(ClipSizeX); |
||||
} |
||||
if (ClipSizeY != 0F) { |
||||
output.WriteRawTag(101); |
||||
output.WriteFloat(ClipSizeY); |
||||
} |
||||
if (ClipSizeZ != 0F) { |
||||
output.WriteRawTag(109); |
||||
output.WriteFloat(ClipSizeZ); |
||||
} |
||||
if (Information.Length != 0) { |
||||
output.WriteRawTag(114); |
||||
output.WriteString(Information); |
||||
} |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public int CalculateSize() { |
||||
int size = 0; |
||||
if (Name.Length != 0) { |
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
||||
} |
||||
if (DepthHighData.Length != 0) { |
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DepthHighData); |
||||
} |
||||
if (DepthLowData.Length != 0) { |
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DepthLowData); |
||||
} |
||||
if (VelocityData.Length != 0) { |
||||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(VelocityData); |
||||
} |
||||
if (PositionX != 0F) { |
||||
size += 1 + 4; |
||||
} |
||||
if (PositionY != 0F) { |
||||
size += 1 + 4; |
||||
} |
||||
if (PositionZ != 0F) { |
||||
size += 1 + 4; |
||||
} |
||||
if (RotationX != 0F) { |
||||
size += 1 + 4; |
||||
} |
||||
if (RotationY != 0F) { |
||||
size += 1 + 4; |
||||
} |
||||
if (RotationZ != 0F) { |
||||
size += 1 + 4; |
||||
} |
||||
if (ClipSizeX != 0F) { |
||||
size += 1 + 4; |
||||
} |
||||
if (ClipSizeY != 0F) { |
||||
size += 1 + 4; |
||||
} |
||||
if (ClipSizeZ != 0F) { |
||||
size += 1 + 4; |
||||
} |
||||
if (Information.Length != 0) { |
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Information); |
||||
} |
||||
return size; |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public void MergeFrom(DataRequest other) { |
||||
if (other == null) { |
||||
return; |
||||
} |
||||
if (other.Name.Length != 0) { |
||||
Name = other.Name; |
||||
} |
||||
if (other.DepthHighData.Length != 0) { |
||||
DepthHighData = other.DepthHighData; |
||||
} |
||||
if (other.DepthLowData.Length != 0) { |
||||
DepthLowData = other.DepthLowData; |
||||
} |
||||
if (other.VelocityData.Length != 0) { |
||||
VelocityData = other.VelocityData; |
||||
} |
||||
if (other.PositionX != 0F) { |
||||
PositionX = other.PositionX; |
||||
} |
||||
if (other.PositionY != 0F) { |
||||
PositionY = other.PositionY; |
||||
} |
||||
if (other.PositionZ != 0F) { |
||||
PositionZ = other.PositionZ; |
||||
} |
||||
if (other.RotationX != 0F) { |
||||
RotationX = other.RotationX; |
||||
} |
||||
if (other.RotationY != 0F) { |
||||
RotationY = other.RotationY; |
||||
} |
||||
if (other.RotationZ != 0F) { |
||||
RotationZ = other.RotationZ; |
||||
} |
||||
if (other.ClipSizeX != 0F) { |
||||
ClipSizeX = other.ClipSizeX; |
||||
} |
||||
if (other.ClipSizeY != 0F) { |
||||
ClipSizeY = other.ClipSizeY; |
||||
} |
||||
if (other.ClipSizeZ != 0F) { |
||||
ClipSizeZ = other.ClipSizeZ; |
||||
} |
||||
if (other.Information.Length != 0) { |
||||
Information = other.Information; |
||||
} |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public void MergeFrom(pb::CodedInputStream input) { |
||||
uint tag; |
||||
while ((tag = input.ReadTag()) != 0) { |
||||
switch(tag) { |
||||
default: |
||||
input.SkipLastField(); |
||||
break; |
||||
case 10: { |
||||
Name = input.ReadString(); |
||||
break; |
||||
} |
||||
case 18: { |
||||
DepthHighData = input.ReadBytes(); |
||||
break; |
||||
} |
||||
case 26: { |
||||
DepthLowData = input.ReadBytes(); |
||||
break; |
||||
} |
||||
case 34: { |
||||
VelocityData = input.ReadBytes(); |
||||
break; |
||||
} |
||||
case 45: { |
||||
PositionX = input.ReadFloat(); |
||||
break; |
||||
} |
||||
case 53: { |
||||
PositionY = input.ReadFloat(); |
||||
break; |
||||
} |
||||
case 61: { |
||||
PositionZ = input.ReadFloat(); |
||||
break; |
||||
} |
||||
case 69: { |
||||
RotationX = input.ReadFloat(); |
||||
break; |
||||
} |
||||
case 77: { |
||||
RotationY = input.ReadFloat(); |
||||
break; |
||||
} |
||||
case 85: { |
||||
RotationZ = input.ReadFloat(); |
||||
break; |
||||
} |
||||
case 93: { |
||||
ClipSizeX = input.ReadFloat(); |
||||
break; |
||||
} |
||||
case 101: { |
||||
ClipSizeY = input.ReadFloat(); |
||||
break; |
||||
} |
||||
case 109: { |
||||
ClipSizeZ = input.ReadFloat(); |
||||
break; |
||||
} |
||||
case 114: { |
||||
Information = input.ReadString(); |
||||
break; |
||||
} |
||||
} |
||||
} |
||||
} |
||||
|
||||
} |
||||
|
||||
public sealed partial class DataReply : pb::IMessage<DataReply> { |
||||
private static readonly pb::MessageParser<DataReply> _parser = new pb::MessageParser<DataReply>(() => new DataReply()); |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public static pb::MessageParser<DataReply> Parser { get { return _parser; } } |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public static pbr::MessageDescriptor Descriptor { |
||||
get { return global::UltraCombos.Kinect2MotionTransmit.UltraCombosKinect2MotionTransmitReflection.Descriptor.MessageTypes[1]; } |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
pbr::MessageDescriptor pb::IMessage.Descriptor { |
||||
get { return Descriptor; } |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public DataReply() { |
||||
OnConstruction(); |
||||
} |
||||
|
||||
partial void OnConstruction(); |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public DataReply(DataReply other) : this() { |
||||
result_ = other.result_; |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public DataReply Clone() { |
||||
return new DataReply(this); |
||||
} |
||||
|
||||
/// <summary>Field number for the "result" field.</summary> |
||||
public const int ResultFieldNumber = 1; |
||||
private string result_ = ""; |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public string Result { |
||||
get { return result_; } |
||||
set { |
||||
result_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
||||
} |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public override bool Equals(object other) { |
||||
return Equals(other as DataReply); |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public bool Equals(DataReply other) { |
||||
if (ReferenceEquals(other, null)) { |
||||
return false; |
||||
} |
||||
if (ReferenceEquals(other, this)) { |
||||
return true; |
||||
} |
||||
if (Result != other.Result) return false; |
||||
return true; |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public override int GetHashCode() { |
||||
int hash = 1; |
||||
if (Result.Length != 0) hash ^= Result.GetHashCode(); |
||||
return hash; |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public override string ToString() { |
||||
return pb::JsonFormatter.ToDiagnosticString(this); |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public void WriteTo(pb::CodedOutputStream output) { |
||||
if (Result.Length != 0) { |
||||
output.WriteRawTag(10); |
||||
output.WriteString(Result); |
||||
} |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public int CalculateSize() { |
||||
int size = 0; |
||||
if (Result.Length != 0) { |
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Result); |
||||
} |
||||
return size; |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public void MergeFrom(DataReply other) { |
||||
if (other == null) { |
||||
return; |
||||
} |
||||
if (other.Result.Length != 0) { |
||||
Result = other.Result; |
||||
} |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public void MergeFrom(pb::CodedInputStream input) { |
||||
uint tag; |
||||
while ((tag = input.ReadTag()) != 0) { |
||||
switch(tag) { |
||||
default: |
||||
input.SkipLastField(); |
||||
break; |
||||
case 10: { |
||||
Result = input.ReadString(); |
||||
break; |
||||
} |
||||
} |
||||
} |
||||
} |
||||
|
||||
} |
||||
|
||||
#endregion |
||||
|
||||
} |
||||
|
||||
#endregion Designer generated code |
||||
@ -0,0 +1,13 @@ |
||||
fileFormatVersion: 2 |
||||
guid: fd3f3cb7e4054474fbb709ccad276dc6 |
||||
timeCreated: 1524800781 |
||||
licenseType: Free |
||||
MonoImporter: |
||||
externalObjects: {} |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
Loading…
Reference in new issue