[IronPython] Attempt to update field 'Z' on value type 'Vector3'; value type fields cannot be directly modified

Jonathan Jacobs korpse-ironpython at kaydash.za.net
Sun May 7 22:20:15 CEST 2006


Sanghyeon Seo wrote:
> Have you read this?
> http://channel9.msdn.com/wiki/default.aspx/IronPython.ValueTypes

As far as I understand the Vector3 type: it is a struct with public fields, 
are these subject to these quirks too? One wouldn't expect structs to need 
getters and setters that somewhat defeats the point of struct, doesn't it?

-- 
Jonathan




More information about the Ironpython-users mailing list