示例#1
0
 StructProperty ISpec <float> .ToStructProperty(InterpCurvePoint <float> icp, MEGame game)
 {
     return(new StructProperty("InterpCurvePointFloat", new PropertyCollection
     {
         new FloatProperty(icp.InVal, "InVal"),
         new FloatProperty(icp.OutVal, "OutVal"),
         new FloatProperty(icp.ArriveTangent, "ArriveTangent"),
         new FloatProperty(icp.LeaveTangent, "LeaveTangent"),
         icp.GetEnumProp(game)
     }));
 }
示例#2
0
 StructProperty ISpec <Vector3> .ToStructProperty(InterpCurvePoint <Vector3> icp, MEGame game)
 {
     return(new StructProperty("InterpCurvePointVector", new PropertyCollection
     {
         new FloatProperty(icp.InVal, "InVal"),
         CommonStructs.Vector3Prop(icp.OutVal, "OutVal"),
         CommonStructs.Vector3Prop(icp.ArriveTangent, "ArriveTangent"),
         CommonStructs.Vector3Prop(icp.LeaveTangent, "LeaveTangent"),
         icp.GetEnumProp(game)
     }));
 }
示例#3
0
 StructProperty ISpec <U> .ToStructProperty(InterpCurvePoint <U> icp, MEGame game) => throw new NotSupportedException();