Cast V3d_light to V3d_PositionLight

Hello!
I've got a little problem. I want to cast a v3d_Light to v3d_PositionLight.I must recover the position of the light.
Does anyone has a solution for this problem?

Thank you for any hints,
(Sorry for my english,i'm a french student!)
Benjamin Hubert

stagiaire_r3d's picture

I've got a solution.
V3d_PositionLight *spot =(V3d_PositionLight*)light.Access();
With Light is my Handle(V3d_Light).
Bye