Search found 1 match

by Mianpe
Thu Nov 17, 2005 7:23 pm
Forum: Irrlicht.NET
Topic: Help: TransformVect in C#
Replies: 5
Views: 1923

True, you can't pass a property as a ref parameter (that's a .NET thing not an Irrlicht thing). My example assumes a public Vector3D variable "Position".

If you want to use a property (i.e. if you have code to execute when getting CurrentPosition), you would need to do:

Vector3D pos = myObject ...