I have a tutorial with code in C++ but I don't succeed to trasform
in C# 2005
with reference:
Code: Select all
video::SLight& ldata;
ldata = light->getLightData();
ldata.Type = ELT_DIRECTIONAL;
ldata.Position = core::vector3df(0,-1,0);
Code: Select all
video::SLight* ldata;
ldata = &light->getLightData();
ldata->Type = ELT_DIRECTIONAL;
ldata->Position = core::vector3df(0,-1,0);