コード例 #1
0
 public static unsafe void Write(global::Improbable.Worker.Internal.GcHandlePool _pool,
                                 RelativeCylinderConstraint _data, global::Improbable.Worker.Internal.Pbio.Object *_obj)
 {
     {
         global::Improbable.Worker.Internal.Pbio.AddDouble(_obj, 1, _data.radius);
     }
 }
コード例 #2
0
 public static unsafe void Write(global::Improbable.Worker.Internal.GcHandlePool _pool,
                                 RelativeCylinderConstraint _data, global::Improbable.Worker.CInterop.SchemaObject _obj)
 {
     {
         _obj.AddDouble(1, _data.radius);
     }
 }
コード例 #3
0
                public static RelativeCylinderConstraint Deserialize(global::Improbable.Worker.CInterop.SchemaObject obj)
                {
                    var instance = new RelativeCylinderConstraint();

                    {
                        instance.Radius = obj.GetDouble(1);
                    }
                    return(instance);
                }
コード例 #4
0
 public static void Serialize(RelativeCylinderConstraint instance, global::Improbable.Worker.CInterop.SchemaObject obj)
 {
     {
         obj.AddDouble(1, instance.Radius);
     }
 }