-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
With SLB2 it was possible to add access to a member variable by using the
property method. I.e.
SLB::Class<ivec4>(IVEC4_LUA_TABLE_NAME, luaProgram->slbManager())
.constructor()
.set("length", &ivec3::length)
.property("x", &ivec4::x)
.property("y", &ivec4::y)
.property("z", &ivec4::z)
.property("w", &ivec4::w);
I can't find what the equivalent way of doing this in SLB3 would be.
Original issue reported on code.google.com by jus...@shadowpsi.net on 10 Jan 2014 at 2:26
Reactions are currently unavailable