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) })); }
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) })); }
StructProperty ISpec <U> .ToStructProperty(InterpCurvePoint <U> icp, MEGame game) => throw new NotSupportedException();